Uses of Package
org.apache.lucene.search
Packages that use org.apache.lucene.search
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
Code to maintain and access indices.
Code to search indices.
The payloads package provides Query mechanisms for finding and using payloads.
This package contains the various ranking models that can be used in Lucene.
The calculus of spans.
Some utility classes.
Packed integer arrays and streams.
-
Classes in org.apache.lucene.search used by org.apache.lucene.codecsClassDescriptionThis abstract class defines methods to iterate over a set of non-decreasing doc ids.
-
Classes in org.apache.lucene.search used by org.apache.lucene.indexClassDescriptionThis abstract class defines methods to iterate over a set of non-decreasing doc ids.The abstract base class for queries.Utility class to safely share instances of a certain type across multiple threads, while periodically refreshing them.
-
Classes in org.apache.lucene.search used by org.apache.lucene.searchClassDescriptionA
Query
that will match terms against a finite-state machine.A clause in a BooleanQuery.Specifies how clauses are to occur in matching documents.A Query that matches documents matching boolean combinations of other queries, e.g.Add thisAttribute
to aTermsEnum
returned byMultiTermQuery.getTermsEnum(Terms,AttributeSource)
and update the boost on each returned term.Caches all docs, and optionally also scores, coming from a search, and is then able to replay them to another collector.Contains statistics for a collection (field)Expert: Collectors are primarily meant to be used to gather raw results from a search, and implement sorting or custom result filtering, collation, etc.A query that generates the union of documents produced by its subqueries, and that scores each document with the maximum score for that document as produced by any subquery, plus a tie breaking increment for any additional matching subqueries.A DocIdSet contains a set of doc ids.This abstract class defines methods to iterate over a set of non-decreasing doc ids.A range filter built on top of a cached multi-valued term field (inFieldCache
).Expert: Describes the score computation for document and query.Expert: Maintains caches of term values.Deprecated.Field values as 8-bit signed bytesEXPERT: A unique Identifier/Description for each item in the FieldCache.Interface to parse doubles from document fields.Field values as 64-bit doublesInterface to parse floats from document fields.Field values as 32-bit floatsInterface to parse ints from document fields.Field values as 32-bit signed integersInterface to parse long from document fields.Field values as 64-bit signed long integersMarker interface as super-interface to all parsers.Deprecated.Field values as 16-bit signed shortsA range filter built on top of a cached single term field (inFieldCache
).Expert: a FieldComparator compares hits so as to determine their sort order when collecting the top results withTopFieldCollector
.Base FieldComparator class for numeric typesProvides aFieldComparator
for custom field sorting.Expert: A ScoreDoc which also contains information about how to sort the referenced document.Expert: A hit queue for sorting by hits by terms in more than one field.Extension of ScoreDoc to also store theFieldComparator
slot.Abstract base class for restricting which documents may be returned during searching.Abstract decorator class for a DocIdSet implementation that provides on-demand filtering/validation mechanism on a given DocIdSet.Abstract class that defines how the filter (DocIdSet
) applied during document collection.reuses compiled automata across different segments, because they are independent of the indexImplements search over a single IndexReader.A class holding a subset of theIndexSearcher
s leaf contexts to be executed within a single thread.Add thisAttribute
to a freshAttributeSource
before callingMultiTermQuery.getTermsEnum(Terms,AttributeSource)
.An abstractQuery
that matches documents containing a subset of terms provided by aFilteredTermsEnum
enumeration.Abstract class that defines how the query is rewritten.A wrapper forMultiTermQuery
, that exposes its functionality as aFilter
.AFilter
that only accepts numeric values within a specified range.AQuery
that matches numeric values within a specified range.A Query that matches documents containing a particular sequence of terms.The abstract base class for queries.Utility class to safely share instances of a certain type across multiple threads, while periodically refreshing them.Use to receive notification when a refresh has finished.Holds one hit inTopDocs
.Expert: Common scoring functionality for different types of queries.A child Scorer and its relationship to its parent.Base rewrite method that translates each term into a query, and keeps the scores as computed by the query.Factory class used bySearcherManager
to create new IndexSearchers.Encapsulates sort criteria for returned hits.Stores information about how to sort documents by terms in an individual field.Specifies the type of the terms to be sorted, or special types such as CUSTOMA Filter that restricts search results to a range of term values in a given field.A Query that matches documents within an range of terms.Contains statistics for a specific termThread used to timeout search requests.Represents hits returned byIndexSearcher.search(Query,Filter,int)
andIndexSearcher.search(Query,int)
.A base class for all collectors that return aTopDocs
output.Represents hits returned byIndexSearcher.search(Query,Filter,int,Sort)
.Base rewrite method for collecting only the top terms via a priority queue.Expert: Calculate query weights and build query scorers. -
Classes in org.apache.lucene.search used by org.apache.lucene.search.payloadsClassDescriptionThis abstract class defines methods to iterate over a set of non-decreasing doc ids.Expert: Describes the score computation for document and query.Implements search over a single IndexReader.The abstract base class for queries.Expert: Common scoring functionality for different types of queries.Expert: Calculate query weights and build query scorers.
-
Classes in org.apache.lucene.search used by org.apache.lucene.search.similaritiesClassDescriptionContains statistics for a collection (field)Expert: Describes the score computation for document and query.Contains statistics for a specific term
-
Classes in org.apache.lucene.search used by org.apache.lucene.search.spansClassDescriptionThis abstract class defines methods to iterate over a set of non-decreasing doc ids.Expert: Describes the score computation for document and query.Implements search over a single IndexReader.An abstract
Query
that matches documents containing a subset of terms provided by aFilteredTermsEnum
enumeration.Abstract class that defines how the query is rewritten.The abstract base class for queries.Expert: Common scoring functionality for different types of queries.Expert: Calculate query weights and build query scorers. -
Classes in org.apache.lucene.search used by org.apache.lucene.utilClassDescriptionSpecifies how clauses are to occur in matching documents.A Query that matches documents matching boolean combinations of other queries, e.g.A DocIdSet contains a set of doc ids.This abstract class defines methods to iterate over a set of non-decreasing doc ids.Expert: Maintains caches of term values.EXPERT: A unique Identifier/Description for each item in the FieldCache.MultiPhraseQuery is a generalized version of PhraseQuery, with an added method
MultiPhraseQuery.add(Term[])
.A Query that matches documents containing a particular sequence of terms.The abstract base class for queries. -
Classes in org.apache.lucene.search used by org.apache.lucene.util.packedClassDescriptionA DocIdSet contains a set of doc ids.This abstract class defines methods to iterate over a set of non-decreasing doc ids.