Package gate.creole.annic.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.
BooleanScorer  
BooleanScorer.Bucket  
BooleanScorer.BucketTable A simple hash table of document scores within a range.
BooleanScorer.Collector  
BooleanScorer.SubScorer  
ConjunctionScorer Scorer for conjunctions, sets of queries, all of which are required.
DefaultSimilarity Expert: Default scoring implementation.
ExactPhraseScorer  
Explanation Expert: Describes the score computation for document and query.
FieldCache.StringIndex Expert: Stores term text values and document ordering data.
FieldCacheImpl Expert: The default cache implementation, storing all values in memory.
FieldCacheImpl.Entry Expert: Every key in the internal cache is of this type.
FieldDoc Expert: A ScoreDoc which also contains information about how to sort the referenced document.
FieldDocSortedHitQueue Expert: Collects sorted results from Searchable's and collates them.
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.
HitCollector Lower-level search API.
HitDoc  
HitQueue  
Hits A ranked list of documents, used to hold search results.
IndexSearcher Implements search over a single IndexReader.
PhrasePositions  
PhraseQuery A Query that matches documents containing a particular sequence of terms.
PhraseQueue  
PhraseScorer  
Query The abstract base class for queries.
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.
SloppyPhraseScorer  
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.
TermScorer  
TopDocs Expert: Returned by low-level search implementations.
TopFieldDocs Expert: Returned by low-level sorted search implementations.
 

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

Package gate.creole.annic.apache.lucene.search Description

Search over indices. Applications usually call org.apache.lucene.search.Searcher#search(Query) or org.apache.lucene.search.Searcher#search(Query,Filter).