Uses of Package
org.apache.lucene.search
-
Packages that use org.apache.lucene.search Package Description 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 Class Description Query The abstract base class for queries.Similarity Expert: Scoring API. -
Classes in org.apache.lucene.search used by org.apache.lucene.queryParser Class Description 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 methodMultiPhraseQuery.add(Term[])
.MultiTermQuery.RewriteMethod Abstract class that defines how the query is rewritten.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 Class Description 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.CachingCollector Caches all docs, and optionally also scores, coming from a search, and is then able to replay them to another collector.CachingWrapperFilter.DeletesMode Expert: Specifies how new deletions against a reopened reader should be handled.Collector Expert: Collectors are primarily meant to be used to gather raw results from a search, and implement sorting or custom result filtering, collation, etc.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.Explanation.IDFExplanation Small Util class used to pass both an idf factor as well as an explanation for that factor.FieldCache Expert: Maintains caches of term values.FieldCache.ByteParser Interface to parse bytes from document fields.FieldCache.CacheEntry EXPERT: A unique Identifier/Description for each item in the FieldCache.FieldCache.DoubleParser Interface to parse doubles from document fields.FieldCache.FloatParser Interface to parse floats from document fields.FieldCache.IntParser Interface to parse ints from document fields.FieldCache.LongParser Interface to parse long from document fields.FieldCache.Parser Marker interface as super-interface to all parsers.FieldCache.ShortParser Interface to parse shorts from document fields.FieldCache.StringIndex Expert: Stores term text values and document ordering data.FieldCacheRangeFilter A range filter built on top of a cached single term field (inFieldCache
).FieldComparator Expert: a FieldComparator compares hits so as to determine their sort order when collecting the top results withTopFieldCollector
.FieldComparator.NumericComparator FieldComparatorSource Provides aFieldComparator
for custom field sorting.FieldValueHitQueue Expert: A hit queue for sorting by hits by terms in more than one field.FieldValueHitQueue.Entry Filter Abstract base class for restricting which documents may be returned during searching.FilteredTermEnum Abstract class for enumerating a subset of all terms.FilterManager Deprecated.used by remote package which is deprecated as well.FilterManager.FilterCleaner Deprecated.Keeps the cache from getting too big.FilterManager.FilterItem Deprecated.Holds the filter and the last time the filter was used, to make LRU-based cache cleaning possible.IndexSearcher Implements search over a single IndexReader.MultiSearcher Deprecated.If you are using MultiSearcher over IndexSearchers, please use MultiReader instead; this class does not properly handle certain kinds of queries (see LUCENE-2756).MultiTermQuery An abstractQuery
that matches documents containing a subset of terms provided by aFilteredTermEnum
enumeration.MultiTermQuery.RewriteMethod Abstract class that defines how the query is rewritten.MultiTermQueryWrapperFilter A wrapper forMultiTermQuery
, that exposes its functionality as aFilter
.NRTManager Utility class to manage sharing near-real-time searchers across multiple searching thread.NRTManager.TrackingIndexWriter Class that tracks changes to a delegated IndexWriter.NRTManager.WaitingListener NRTManager invokes this interface to notify it when a caller is waiting for a specific generation searcher to be visible.NumericRangeFilter AFilter
that only accepts numeric values within a specified range.NumericRangeQuery AQuery
that matches numeric values within a specified range.PhraseQuery A Query that matches documents containing a particular sequence of terms.Query The abstract base class for queries.ReferenceManager Utility class to safely share instances of a certain type across multiple threads, while periodically refreshing them.ScoreDoc Holds one hit inTopDocs
.Scorer Expert: Common scoring functionality for different types of queries.Scorer.ScorerVisitor A callback to gather information from a scorer and its sub-scorers.ScoringRewrite Searchable Deprecated.In 4.0 this interface is removed/absorbed into IndexSearcherSearcher Deprecated.In 4.0 this abstract class is removed/absorbed into IndexSearcherSearcherFactory Factory class used bySearcherManager
andNRTManager
to create new IndexSearchers.SearcherLifetimeManager.Pruner Similarity Expert: Scoring API.Sort Encapsulates sort criteria for returned hits.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.SpanFilterResult.PositionInfo SpanFilterResult.StartEnd TermRangeFilter A Filter that restricts search results to a range of term values in a given field.TimeLimitingCollector.TimerThread TopDocs Represents hits returned bySearcher.search(Query,Filter,int)
andSearcher.search(Query,int)
.TopDocsCollector A base class for all collectors that return aTopDocs
output.TopFieldCollector TopFieldDocs Represents hits returned bySearcher.search(Query,Filter,int,Sort)
.TopScoreDocCollector TopTermsRewrite Base rewrite method for collecting only the top terms via a priority queue.Weight Expert: Calculate query weights and build query scorers. -
Classes in org.apache.lucene.search used by org.apache.lucene.search.function Class Description 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 Deprecated.In 4.0 this abstract class is removed/absorbed into IndexSearcherWeight Expert: Calculate query weights and build query scorers. -
Classes in org.apache.lucene.search used by org.apache.lucene.search.payloads Class Description 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 Deprecated.In 4.0 this abstract class is removed/absorbed into IndexSearcherSimilarity 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 Class Description 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.MultiTermQuery An abstractQuery
that matches documents containing a subset of terms provided by aFilteredTermEnum
enumeration.MultiTermQuery.RewriteMethod Abstract class that defines how the query is rewritten.Query The abstract base class for queries.Scorer Expert: Common scoring functionality for different types of queries.Searcher Deprecated.In 4.0 this abstract class is removed/absorbed into IndexSearcherSimilarity Expert: Scoring API.Weight Expert: Calculate query weights and build query scorers. -
Classes in org.apache.lucene.search used by org.apache.lucene.util Class Description 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.FieldCache Expert: Maintains caches of term values.FieldCache.CacheEntry EXPERT: A unique Identifier/Description for each item in the FieldCache.Scorer Expert: Common scoring functionality for different types of queries.