Package org.apache.lucene.search

Search over indices.

Interface Summary

FieldCache Expert: Maintains caches of term values.
FieldCache.FloatParserInterface to parse floats from document fields.
FieldCache.IntParserInterface to parse ints from document fields.
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.
BooleanClause.OccurSpecifies how terms may occur in matching documents.
BooleanQueryA Query that matches documents matching boolean combinations of other queries, e.g.
BooleanQuery.TooManyClausesThrown when an attempt is made to add more than getMaxClauseCount() clauses.
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.
ConstantScoreQuery.ConstantScorer
ConstantScoreQuery.ConstantWeight
ConstantScoreRangeQuery A range query that returns a constant score equal to it's boost for all documents in the range.
DateFilter A Filter that restricts search results to a range of time.
DefaultSimilarityExpert: 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.
DisjunctionSumScorerA Scorer for OR like queries, counterpart of Lucene's ConjunctionScorer.
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.
FieldSortedHitQueue Expert: A hit queue for sorting by hits by terms in more than one field.
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.
Hit Wrapper used by HitIterator to provide a lazily loaded hit from Hits.
HitCollectorLower-level search API.
HitIterator An iterator over Hits that provides lazy fetching of each document.
HitsA ranked list of documents, used to hold search results.
IndexSearcherImplements search over a single IndexReader.
MatchAllDocsQuery A query that matches all documents.
MultiPhraseQuery MultiPhraseQuery is a generalized version of PhraseQuery, with an added method add(Term[]).
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
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.
ReqExclScorerA Scorer for queries with a required subscorer and an excluding (prohibited) subscorer.
ReqOptSumScorerA Scorer for queries with a required part and an optional part.
ScoreDocExpert: Returned by low-level search implementations.
ScorerExpert: Common scoring functionality for different types of queries.
SearcherAn abstract base class for search implementations.
SimilarityExpert: Scoring API.
SimilarityDelegatorExpert: 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.
TermQueryA Query that matches documents containing a term.
TopDocCollectorA HitCollector implementation that collects the top-scoring documents, returning them as a TopDocs.
TopDocsExpert: Returned by low-level search implementations.
TopFieldDocCollectorA HitCollector implementation that collects the top-sorting documents, returning them as a TopFieldDocs.
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-2006 Apache Software Foundation. All Rights Reserved.