Package org.apache.lucene.search

Search over indices.

See:
          Description

Interface Summary
FieldCache Expert: Maintains caches of term values.
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.
BooleanQuery A Query that matches documents matching boolean combinations of other queries, typically TermQuerys or PhraseQuerys.
CachingWrapperFilter Wraps another filters result and caches it.
DateFilter A Filter that restricts search results to a range of time.
DefaultSimilarity Expert: Default scoring implementation.
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.
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.
HitCollector Lower-level search API.
Hits A ranked list of documents, used to hold search results.
IndexSearcher Implements search over a single IndexReader.
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 PhrasePrefixQuery is a generalized version of PhraseQuery, with an added method PhrasePrefixQuery.add(Term[]).
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  
RangeQuery A Query that matches documents within an exclusive range.
RemoteSearchable A remote searchable implementation.
ScoreDoc Expert: Returned by low-level search implementations.
Scorer Expert: Implements scoring for a class of queries.
Searcher An abstract base class for search implementations.
Similarity Expert: 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.
TermQuery A Query that matches documents containing a term.
TopDocs Expert: Returned by low-level search implementations.
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-2008 Apache Software Foundation. All Rights Reserved.