Package org.apache.lucene.search

Search over indices.

Interface Summary

FieldCache Expert: Maintains caches of term values.
ScoreDocComparator Expert: Compares two ScoreDoc objects for sorting.
SearchableThe interface for search implementations.
SortComparatorSource Expert: returns a comparator for sorting ScoreDocs.
WeightExpert: Calculate query weights and build query scorers.

Class Summary

BooleanClauseA clause in a BooleanQuery.
BooleanQueryA Query that matches documents matching boolean combinations of other queries, typically TermQuerys or PhraseQuerys.
BooleanQuery.TooManyClausesThrown when an attempt is made to add more than getMaxClauseCount() clauses.
CachingWrapperFilter Wraps another filters result and caches it.
DateFilter A Filter that restricts search results to a range of time.
DefaultSimilarityExpert: Default scoring implementation.
ExplanationExpert: Describes the score computation for document and query.
FieldCache.StringIndexExpert: Stores term text values and document ordering data.
FieldDoc Expert: A ScoreDoc which also contains information about how to sort the referenced document.
FilterAbstract 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.
FilteredTermEnumAbstract class for enumerating a subset of all terms.
FuzzyQueryImplements the fuzzy search query.
FuzzyTermEnumSubclass of FilteredTermEnum for enumerating all terms that are similiar to the specified filter term.
HitCollectorLower-level search API.
HitsA ranked list of documents, used to hold search results.
IndexSearcherImplements search over a single IndexReader.
MultiSearcherImplements search over a set of Searchables.
MultiTermQuery A Query that matches documents containing a subset of terms provided by a FilteredTermEnum enumeration.
ParallelMultiSearcherImplements parallel search over a set of Searchables.
PhrasePrefixQuery PhrasePrefixQuery is a generalized version of PhraseQuery, with an added method add(Term[]).
PhraseQueryA Query that matches documents containing a particular sequence of terms.
PrefixQueryA Query that matches documents containing terms with a specified prefix.
QueryThe abstract base class for queries.
QueryFilterConstrains search results to only match those which also match a provided query.
QueryTermVector
RangeQuery A Query that matches documents within an exclusive range.
RemoteSearchableA remote searchable implementation.
ScoreDocExpert: Returned by low-level search implementations.
ScorerExpert: Implements scoring for a class of queries.
SearcherAn abstract base class for search implementations.
SimilarityExpert: Scoring API.
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.
TermQueryA Query that matches documents containing a term.
TopDocsExpert: Returned by low-level search implementations.
TopFieldDocs Expert: Returned by low-level sorted search implementations.
WildcardQueryImplements the wildcard search query.
WildcardTermEnum Subclass of FilteredTermEnum for enumerating all terms that match the specified wildcard filter term.
Search over indices. Applications usually call Searcher.search(Query) or Searcher.search(Query,Filter).

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