Package org.apache.lucene.search

Search over indices.

See:
          Description

Interface Summary
FieldCache Expert: Maintains caches of term values.
FieldCache.FloatParser Interface to parse floats from document fields.
FieldCache.IntParser Interface to parse ints from document fields.
ScoreDocComparator Expert: Compares two ScoreDoc objects for sorting.
Searchable The interface for search implementations.
SortComparatorSource Expert: returns a comparator for sorting ScoreDocs.
Weight Expert: Calculate query weights and build query scorers.
 

Class Summary
BooleanClause A clause in a BooleanQuery.
BooleanClause.Occur Specifies how terms may occur in matching documents.
BooleanQuery A Query that matches documents matching boolean combinations of other queries, e.g.
CachingWrapperFilter Wraps another filter's result and caches it.
ConstantScoreQuery A query that wraps a filter and simply returns a constant score equal to the query boost for every document in the filter.
ConstantScoreRangeQuery A range query that returns a constant score equal to it's boost for all documents in the range.
DateFilter Deprecated. Instead, use RangeFilter combined with DateTools.
DefaultSimilarity Expert: Default scoring implementation.
DisjunctionMaxQuery A query that generates the union of the documents produced by its subqueries, and that scores each document as the maximum score for that document produced by any subquery plus a tie breaking increment for any additional matching subqueries.
DisjunctionSumScorer A Scorer for OR like queries, counterpart of Lucene's ConjunctionScorer.
Explanation Expert: Describes the score computation for document and query.
FieldCache.StringIndex Expert: Stores term text values and document ordering data.
FieldDoc Expert: A ScoreDoc which also contains information about how to sort the referenced document.
FieldSortedHitQueue Expert: A hit queue for sorting by hits by terms in more than one field.
Filter Abstract base class providing a mechanism to restrict searches to a subset of an index.
FilteredQuery A query that applies a filter to the results of another query.
FilteredTermEnum Abstract class for enumerating a subset of all terms.
FuzzyQuery Implements the fuzzy search query.
FuzzyTermEnum Subclass of FilteredTermEnum for enumerating all terms that are similiar to the specified filter term.
Hit Wrapper used by HitIterator to provide a lazily loaded hit from Hits.
HitCollector Lower-level search API.
HitIterator An iterator over Hits that provides lazy fetching of each document.
Hits A ranked list of documents, used to hold search results.
IndexSearcher Implements search over a single IndexReader.
MatchAllDocsQuery A query that matches all documents.
MultiPhraseQuery MultiPhraseQuery is a generalized version of PhraseQuery, with an added method MultiPhraseQuery.add(Term[]).
MultiSearcher Implements search over a set of Searchables.
MultiTermQuery A Query that matches documents containing a subset of terms provided by a FilteredTermEnum enumeration.
ParallelMultiSearcher Implements parallel search over a set of Searchables.
PhrasePrefixQuery Deprecated. use MultiPhraseQuery instead
PhraseQuery A Query that matches documents containing a particular sequence of terms.
PrefixQuery A Query that matches documents containing terms with a specified prefix.
Query The abstract base class for queries.
QueryFilter Constrains search results to only match those which also match a provided query.
QueryTermVector  
RangeFilter A Filter that restricts search results to a range of values in a given field.
RangeQuery A Query that matches documents within an exclusive range.
RemoteSearchable A remote searchable implementation.
ReqExclScorer A Scorer for queries with a required subscorer and an excluding (prohibited) subscorer.
ReqOptSumScorer A Scorer for queries with a required part and an optional part.
ScoreDoc Expert: Returned by low-level search implementations.
Scorer Expert: Common scoring functionality for different types of queries.
Searcher An abstract base class for search implementations.
Similarity Expert: Scoring API.
SimilarityDelegator Expert: Delegating scoring implementation.
Sort Encapsulates sort criteria for returned hits.
SortComparator Abstract base class for sorting hits returned by a Query.
SortField Stores information about how to sort documents by terms in an individual field.
TermQuery A Query that matches documents containing a term.
TopDocCollector A HitCollector implementation that collects the top-scoring documents, returning them as a TopDocs.
TopDocs Expert: Returned by low-level search implementations.
TopFieldDocCollector A HitCollector implementation that collects the top-sorting documents, returning them as a TopFieldDocs.
TopFieldDocs Expert: Returned by low-level sorted search implementations.
WildcardQuery Implements the wildcard search query.
WildcardTermEnum Subclass of FilteredTermEnum for enumerating all terms that match the specified wildcard filter term.
 

Exception Summary
BooleanQuery.TooManyClauses Thrown when an attempt is made to add more than BooleanQuery.getMaxClauseCount() clauses.
 

Package org.apache.lucene.search Description

Search over indices. Applications usually call Searcher.search(Query) or Searcher.search(Query,Filter).



Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.