Uses of Package
org.apache.lucene.search

Packages that use org.apache.lucene.search
org.apache.lucene.index Code to maintain and access indices. 
org.apache.lucene.queryParser A simple query parser implemented with JavaCC. 
org.apache.lucene.search Code to search indices. 
org.apache.lucene.search.function
Programmatic control over documents scores. 
org.apache.lucene.search.payloads
The payloads package provides Query mechanisms for finding and using payloads. 
org.apache.lucene.search.spans The calculus of spans. 
org.apache.lucene.util Some utility classes. 
 

Classes in org.apache.lucene.search used by org.apache.lucene.index
Query
          The abstract base class for queries.
Similarity
          Expert: Scoring API.
 

Classes in org.apache.lucene.search used by org.apache.lucene.queryParser
BooleanClause
          A clause in a BooleanQuery.
BooleanClause.Occur
          Specifies how clauses are to occur in matching documents.
BooleanQuery
          A Query that matches documents matching boolean combinations of other queries, e.g.
MultiPhraseQuery
          MultiPhraseQuery is a generalized version of PhraseQuery, with an added method MultiPhraseQuery.add(Term[]).
PhraseQuery
          A Query that matches documents containing a particular sequence of terms.
Query
          The abstract base class for queries.
 

Classes in org.apache.lucene.search used by org.apache.lucene.search
BooleanClause
          A clause in a BooleanQuery.
BooleanClause.Occur
          Specifies how clauses are to occur in matching documents.
CachingWrapperFilter
          Wraps another filter's result and caches it.
DocIdSet
          A DocIdSet contains a set of doc ids.
DocIdSetIterator
          This abstract class defines methods to iterate over a set of non-decreasing doc ids.
Explanation
          Expert: Describes the score computation for document and query.
ExtendedFieldCache
           
ExtendedFieldCache.DoubleParser
           
ExtendedFieldCache.LongParser
           
FieldCache
          Expert: Maintains caches of term values.
FieldCache.ByteParser
          Interface to parse bytes from document fields.
FieldCache.FloatParser
          Interface to parse floats from document fields.
FieldCache.IntParser
          Interface to parse ints from document fields.
FieldCache.ShortParser
          Interface to parse shorts from document fields.
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 use a subset of an index for restriction or permission of index search results.
FilteredTermEnum
          Abstract class for enumerating a subset of all terms.
FilterManager
          Filter caching singleton.
FilterManager.FilterCleaner
          Keeps the cache from getting too big.
HitCollector
          Lower-level search API.
Hits
          Deprecated. Hits will be removed in Lucene 3.0.

Instead e. g. TopDocCollector and TopDocs can be used:

   TopDocCollector collector = new TopDocCollector(hitsPerPage);
   searcher.search(query, collector);
   ScoreDoc[] hits = collector.topDocs().scoreDocs;
   for (int i = 0; i < hits.length; i++) {
     int docId = hits[i].doc;
     Document d = searcher.doc(docId);
     // do something with current hit
     ...
 
MultiSearcher
          Implements search over a set of Searchables.
MultiTermQuery
          A Query that matches documents containing a subset of terms provided by a FilteredTermEnum enumeration.
Query
          The abstract base class for queries.
RangeFilter
          A Filter that restricts search results to a range of values in a given field.
ScoreDoc
          Expert: Returned by low-level search implementations.
ScoreDocComparator
          Expert: Compares two ScoreDoc objects for sorting.
Scorer
          Expert: Common scoring functionality for different types of queries.
Searchable
          The interface for search implementations.
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.
SortComparatorSource
          Expert: returns a comparator for sorting ScoreDocs.
SortField
          Stores information about how to sort documents by terms in an individual field.
SpanFilter
          Abstract base class providing a mechanism to restrict searches to a subset of an index and also maintains and returns position information.
SpanFilterResult
          The results of a SpanQueryFilter.
TopDocCollector
          A HitCollector implementation that collects the top-scoring documents, returning them as a TopDocs.
TopDocs
          Expert: Returned by low-level search implementations.
TopFieldDocs
          Expert: Returned by low-level sorted search implementations.
Weight
          Expert: Calculate query weights and build query scorers.
 

Classes in org.apache.lucene.search used by org.apache.lucene.search.function
Explanation
          Expert: Describes the score computation for document and query.
FieldCache
          Expert: Maintains caches of term values.
FieldCache.ByteParser
          Interface to parse bytes from document fields.
FieldCache.FloatParser
          Interface to parse floats from document fields.
FieldCache.IntParser
          Interface to parse ints from document fields.
FieldCache.ShortParser
          Interface to parse shorts from document fields.
Query
          The abstract base class for queries.
Searcher
          An abstract base class for search implementations.
Weight
          Expert: Calculate query weights and build query scorers.
 

Classes in org.apache.lucene.search used by org.apache.lucene.search.payloads
DocIdSetIterator
          This abstract class defines methods to iterate over a set of non-decreasing doc ids.
Explanation
          Expert: Describes the score computation for document and query.
Query
          The abstract base class for queries.
Scorer
          Expert: Common scoring functionality for different types of queries.
Searcher
          An abstract base class for search implementations.
Similarity
          Expert: Scoring API.
Weight
          Expert: Calculate query weights and build query scorers.
 

Classes in org.apache.lucene.search used by org.apache.lucene.search.spans
DocIdSetIterator
          This abstract class defines methods to iterate over a set of non-decreasing doc ids.
Explanation
          Expert: Describes the score computation for document and query.
Query
          The abstract base class for queries.
Scorer
          Expert: Common scoring functionality for different types of queries.
Searcher
          An abstract base class for search implementations.
Similarity
          Expert: Scoring API.
Weight
          Expert: Calculate query weights and build query scorers.
 

Classes in org.apache.lucene.search used by org.apache.lucene.util
DocIdSet
          A DocIdSet contains a set of doc ids.
DocIdSetIterator
          This abstract class defines methods to iterate over a set of non-decreasing doc ids.
Scorer
          Expert: Common scoring functionality for different types of queries.
 



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