Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.similarities |
This package contains the various ranking models that can be used in Lucene.
|
org.apache.lucene.search.spans |
The calculus of spans.
|
org.apache.lucene.util |
Some utility classes.
|
Class and Description |
---|
DocIdSetIterator
This abstract class defines methods to iterate over a set of non-decreasing
doc ids.
|
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.
|
Class and Description |
---|
AutomatonQuery
A
Query that will match terms against a finite-state machine. |
BlendedTermQuery
A
Query that blends index statistics across multiple terms. |
BlendedTermQuery.Builder
A Builder for
BlendedTermQuery . |
BlendedTermQuery.RewriteMethod
A
BlendedTermQuery.RewriteMethod defines how queries for individual terms should
be merged. |
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.
|
BooleanQuery.Builder
A builder for boolean queries.
|
BoostAttribute
Add this
Attribute to a TermsEnum returned by MultiTermQuery.getTermsEnum(Terms,AttributeSource)
and update the boost on each returned term. |
BulkScorer
This class is used to score a range of documents at
once, and is returned by
Weight.bulkScorer(org.apache.lucene.index.LeafReaderContext) . |
CachingCollector
Caches all docs, and optionally also scores, coming from
a search, and is then able to replay them to another
collector.
|
CollectionStatistics
Contains statistics for a collection (field)
|
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.
|
CollectorManager
A manager of collectors.
|
ConjunctionDISI
A conjunction of DocIdSetIterators.
|
ConstantScoreWeight
A Weight that has a constant score equal to the boost of the wrapped query.
|
DisiPriorityQueue
A priority queue of DocIdSetIterators that orders by current doc ID.
|
DisiWrapper
Wrapper used in
DisiPriorityQueue . |
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.
|
FieldComparator
Expert: a FieldComparator compares hits so as to determine their
sort order when collecting the top results with
TopFieldCollector . |
FieldComparator.NumericComparator
Base FieldComparator class for numeric types
|
FieldComparatorSource
Provides a
FieldComparator for custom field sorting. |
FieldDoc
Expert: A ScoreDoc which also contains information about
how to sort the referenced document.
|
FieldValueHitQueue
Expert: A hit queue for sorting by hits by terms in more than one field.
|
FieldValueHitQueue.Entry
Extension of ScoreDoc to also store the
FieldComparator slot. |
Filter
Deprecated.
Use
Query objects instead: when queries are wrapped in a
ConstantScoreQuery or in a BooleanClause.Occur.FILTER clause,
they automatically disable the score computation so the Filter class
does not provide benefits compared to queries anymore. |
FilterCache
Deprecated.
Use
QueryCache instead |
FilterCachingPolicy
Deprecated.
Use
QueryCachingPolicy instead |
FilterCachingPolicy.CacheOnLargeSegments
Deprecated.
A simple policy that only caches on the largest segments of an index.
|
FilterCollector
Collector delegator. |
FilteredDocIdSet
Deprecated.
This class is not useful internally anymore and will be removed
in 6.0
|
FilteredQuery.FilterStrategy
Deprecated.
Abstract class that defines how the filter (
DocIdSet ) applied during document collection. |
FilterScorer
A
FilterScorer contains another Scorer , which it
uses as its basic source of data, possibly transforming the data along the
way or providing additional functionality. |
FuzzyTermsEnum.LevenshteinAutomataAttribute
reuses compiled automata across different segments,
because they are independent of the index
|
IndexSearcher
Implements search over a single IndexReader.
|
IndexSearcher.LeafSlice
A class holding a subset of the
IndexSearcher s leaf contexts to be
executed within a single thread. |
LeafCollector
Collector decouples the score from the collected doc:
the score computation is skipped entirely if it's not
needed.
|
LeafFieldComparator
Expert: comparator that gets instantiated on each leaf
from a top-level
FieldComparator instance. |
MaxNonCompetitiveBoostAttribute
Add this
Attribute to a fresh AttributeSource before calling
MultiTermQuery.getTermsEnum(Terms,AttributeSource) . |
MultiTermQuery
An abstract
Query that matches documents
containing a subset of terms provided by a FilteredTermsEnum enumeration. |
MultiTermQuery.RewriteMethod
Abstract class that defines how the query is rewritten.
|
MultiTermQueryWrapperFilter
Deprecated.
Use
MultiTermQueryConstantScoreWrapper instead |
NumericRangeFilter
Deprecated.
Use
NumericRangeQuery and BooleanClause.Occur.FILTER clauses instead. |
NumericRangeQuery
A
Query that matches numeric values within a
specified range. |
PhraseQuery
A Query that matches documents containing a particular sequence of terms.
|
PhraseQuery.Builder
A builder for phrase queries.
|
Query
The abstract base class for queries.
|
QueryCache
A cache for queries.
|
QueryCachingPolicy
A policy defining which filters should be cached.
|
QueryCachingPolicy.CacheOnLargeSegments
A simple policy that only caches on the largest segments of an index.
|
ReferenceManager
Utility class to safely share instances of a certain type across multiple
threads, while periodically refreshing them.
|
ReferenceManager.RefreshListener
Use to receive notification when a refresh has
finished.
|
Rescorer
Re-scores the topN results (
TopDocs ) from an original
query. |
ScoreDoc
Holds one hit in
TopDocs . |
Scorer
Expert: Common scoring functionality for different types of queries.
|
Scorer.ChildScorer
A child Scorer and its relationship to its parent.
|
ScoringRewrite
Base rewrite method that translates each term into a query, and keeps
the scores as computed by the query.
|
SearcherFactory
Factory class used by
SearcherManager to
create new IndexSearchers. |
SearcherLifetimeManager.Pruner |
SimpleCollector
Base
Collector implementation that is used to collect all contexts. |
SimpleFieldComparator
Base
FieldComparator implementation that is used for all contexts. |
Sort
Encapsulates sort criteria for returned hits.
|
SortedNumericSelector.Type
Type of selection to perform.
|
SortedSetSelector.Type
Type of selection to perform.
|
SortField
Stores information about how to sort documents by terms in an individual
field.
|
SortField.Type
Specifies the type of the terms to be sorted, or special types such as CUSTOM
|
TermRangeFilter
Deprecated.
Use
TermRangeQuery and BooleanClause.Occur.FILTER clauses instead. |
TermRangeQuery
A Query that matches documents within an range of terms.
|
TermStatistics
Contains statistics for a specific term
|
TimeLimitingCollector.TimerThread
Thread used to timeout search requests.
|
TopDocs
Represents hits returned by
IndexSearcher.search(Query,int) . |
TopDocsCollector
A base class for all collectors that return a
TopDocs output. |
TopFieldCollector |
TopFieldDocs
Represents hits returned by
IndexSearcher.search(Query,int,Sort) . |
TopScoreDocCollector |
TopTermsRewrite
Base rewrite method for collecting only the top terms
via a priority queue.
|
TwoPhaseDocIdSetIterator
An approximation of a
DocIdSetIterator . |
TwoPhaseIterator
Returned by
Scorer.twoPhaseIterator()
to expose an approximation of a DocIdSetIterator . |
Weight
Expert: Calculate query weights and build query scorers.
|
Class and Description |
---|
CollectionStatistics
Contains statistics for a collection (field)
|
Explanation
Expert: Describes the score computation for document and query.
|
TermStatistics
Contains statistics for a specific term
|
Class and 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.
|
IndexSearcher
Implements search over a single IndexReader.
|
MultiTermQuery
An abstract
Query that matches documents
containing a subset of terms provided by a FilteredTermsEnum 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.
|
TwoPhaseIterator
Returned by
Scorer.twoPhaseIterator()
to expose an approximation of a DocIdSetIterator . |
Weight
Expert: Calculate query weights and build query scorers.
|
Class and Description |
---|
BooleanClause.Occur
Specifies how clauses are to occur in matching documents.
|
BooleanQuery.Builder
A builder for boolean queries.
|
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.
|
MultiPhraseQuery
A generalized version of
PhraseQuery , with an added
method MultiPhraseQuery.add(Term[]) for adding more than one term at the same position
that are treated as a disjunction (OR). |
Query
The abstract base class for queries.
|
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.