Package | Description |
---|---|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.queries |
Filters and Queries that add to core Lucene.
|
org.apache.lucene.queries.function |
Queries that compute score based upon a function.
|
org.apache.lucene.queries.function.docvalues |
FunctionValues for different data types.
|
org.apache.lucene.queries.function.valuesource |
A variety of functions to use with FunctionQuery.
|
org.apache.lucene.queries.payloads |
The payloads package provides Query mechanisms for finding and using payloads.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.grouping |
Grouping.
|
org.apache.lucene.search.grouping.function |
Support for grouping by
ValueSource . |
org.apache.lucene.search.grouping.term |
Support for grouping by indexed terms via
DocValues . |
org.apache.lucene.search.highlight |
Highlighting search terms.
|
org.apache.lucene.search.join |
Support for index-time and query-time joins.
|
org.apache.lucene.search.postingshighlight |
Highlighter implementation that uses offsets from postings lists.
|
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.
|
Modifier and Type | Method and Description |
---|---|
LeafFieldComparator |
LatLonPointDistanceComparator.getLeafComparator(LeafReaderContext context) |
Modifier and Type | Field and Description |
---|---|
private LeafReaderContext |
LeafReader.readerContext |
Modifier and Type | Field and Description |
---|---|
private java.util.List<LeafReaderContext> |
CompositeReaderContext.leaves |
private java.util.List<LeafReaderContext> |
CompositeReaderContext.Builder.leaves |
private java.util.List<LeafReaderContext> |
LeafReaderContext.leaves |
Modifier and Type | Method and Description |
---|---|
LeafReaderContext |
LeafReader.getContext() |
Modifier and Type | Method and Description |
---|---|
java.util.List<LeafReaderContext> |
CompositeReaderContext.leaves() |
java.util.List<LeafReaderContext> |
IndexReader.leaves()
Returns the reader's leaves, or itself if this reader is atomic.
|
abstract java.util.List<LeafReaderContext> |
IndexReaderContext.leaves()
Returns the context's leaves if this context is a top-level context.
|
java.util.List<LeafReaderContext> |
LeafReaderContext.leaves() |
Modifier and Type | Method and Description |
---|---|
static int |
ReaderUtil.subIndex(int n,
java.util.List<LeafReaderContext> leaves)
Returns index of the searcher/reader for document
n in the
array used to construct this searcher/reader. |
Constructor and Description |
---|
DocumentFilteredLeafIndexReader(LeafReaderContext context,
Weight preserveWeight,
boolean negateFilter) |
Constructor and Description |
---|
CompositeReaderContext(CompositeReaderContext parent,
CompositeReader reader,
int ordInParent,
int docbaseInParent,
java.util.List<IndexReaderContext> children,
java.util.List<LeafReaderContext> leaves) |
CompositeReaderContext(CompositeReader reader,
java.util.List<IndexReaderContext> children,
java.util.List<LeafReaderContext> leaves)
Creates a
CompositeReaderContext for top-level readers with parent set to null |
Modifier and Type | Field and Description |
---|---|
protected LeafReaderContext |
CustomScoreProvider.context |
Modifier and Type | Method and Description |
---|---|
private Explanation |
CustomScoreQuery.CustomWeight.doExplain(LeafReaderContext info,
int doc) |
Explanation |
CustomScoreQuery.CustomWeight.explain(LeafReaderContext context,
int doc) |
protected CustomScoreProvider |
CustomScoreQuery.getCustomScoreProvider(LeafReaderContext context)
Returns a
CustomScoreProvider that calculates the custom scores
for the given IndexReader . |
Scorer |
CustomScoreQuery.CustomWeight.scorer(LeafReaderContext context) |
Modifier and Type | Method and Description |
---|---|
void |
CommonTermsQuery.collectTermContext(IndexReader reader,
java.util.List<LeafReaderContext> leaves,
TermContext[] contextArray,
Term[] queryTerms) |
Constructor and Description |
---|
CustomScoreProvider(LeafReaderContext context)
Creates a new instance of the provider class for the given
IndexReader . |
Modifier and Type | Field and Description |
---|---|
private LeafReaderContext |
BoostedQuery.CustomScorer.readerContext |
Modifier and Type | Method and Description |
---|---|
void |
ValueSource.ValueSourceComparator.doSetNextReader(LeafReaderContext context) |
Explanation |
BoostedQuery.BoostedWeight.explain(LeafReaderContext readerContext,
int doc) |
Explanation |
FunctionQuery.FunctionWeight.explain(LeafReaderContext context,
int doc) |
Explanation |
FunctionRangeQuery.FunctionRangeWeight.explain(LeafReaderContext context,
int doc) |
ValueSourceScorer |
FunctionValues.getRangeScorer(LeafReaderContext readerContext,
java.lang.String lowerVal,
java.lang.String upperVal,
boolean includeLower,
boolean includeUpper)
Yields a
Scorer that matches documents with values between the specified range,
and that which produces scores equal to FunctionValues.floatVal(int) . |
ValueSourceScorer |
FunctionValues.getScorer(LeafReaderContext readerContext)
Yields a
Scorer that matches all documents,
and that which produces scores equal to FunctionValues.floatVal(int) . |
abstract FunctionValues |
ValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext)
Gets the values for this reader and the context that was previously
passed to createWeight()
|
Scorer |
BoostedQuery.BoostedWeight.scorer(LeafReaderContext context) |
Scorer |
FunctionQuery.FunctionWeight.scorer(LeafReaderContext context) |
ValueSourceScorer |
FunctionRangeQuery.FunctionRangeWeight.scorer(LeafReaderContext context) |
Constructor and Description |
---|
AllScorer(LeafReaderContext context,
FunctionQuery.FunctionWeight w,
float qWeight) |
CustomScorer(LeafReaderContext readerContext,
BoostedQuery.BoostedWeight w,
Scorer scorer,
ValueSource vs) |
ValueSourceScorer(LeafReaderContext readerContext,
FunctionValues values) |
Modifier and Type | Method and Description |
---|---|
ValueSourceScorer |
DocTermsIndexDocValues.getRangeScorer(LeafReaderContext readerContext,
java.lang.String lowerVal,
java.lang.String upperVal,
boolean includeLower,
boolean includeUpper) |
ValueSourceScorer |
DoubleDocValues.getRangeScorer(LeafReaderContext readerContext,
java.lang.String lowerVal,
java.lang.String upperVal,
boolean includeLower,
boolean includeUpper) |
ValueSourceScorer |
IntDocValues.getRangeScorer(LeafReaderContext readerContext,
java.lang.String lowerVal,
java.lang.String upperVal,
boolean includeLower,
boolean includeUpper) |
ValueSourceScorer |
LongDocValues.getRangeScorer(LeafReaderContext readerContext,
java.lang.String lowerVal,
java.lang.String upperVal,
boolean includeLower,
boolean includeUpper) |
(package private) static SortedDocValues |
DocTermsIndexDocValues.open(LeafReaderContext context,
java.lang.String field) |
Constructor and Description |
---|
DocTermsIndexDocValues(ValueSource vs,
LeafReaderContext context,
java.lang.String field) |
Modifier and Type | Field and Description |
---|---|
(package private) LeafReaderContext |
QueryDocValues.readerContext |
Modifier and Type | Method and Description |
---|---|
private ScaleFloatFunction.ScaleInfo |
ScaleFloatFunction.createScaleInfo(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
BytesRefFieldSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
ConstValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
DefFunction.getValues(java.util.Map fcontext,
LeafReaderContext readerContext) |
FunctionValues |
DocFreqValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
DoubleConstValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
DoubleFieldSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
DualFloatFunction.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
EnumFieldSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
FloatFieldSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
IDFValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
IfFunction.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
IntFieldSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
JoinDocFreqValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
LinearFloatFunction.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
LiteralValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
LongFieldSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
MaxDocValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
BoolDocValues |
MultiBoolFunction.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
MultiFloatFunction.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
NormValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
NumDocsValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
QueryValueSource.getValues(java.util.Map fcontext,
LeafReaderContext readerContext) |
FunctionValues |
RangeMapFloatFunction.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
ReciprocalFloatFunction.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
ScaleFloatFunction.getValues(java.util.Map context,
LeafReaderContext readerContext) |
BoolDocValues |
SimpleBoolFunction.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
SimpleFloatFunction.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
SortedSetFieldSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
SumTotalTermFreqValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
TFValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
TermFreqValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
TotalTermFreqValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
VectorValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
static FunctionValues[] |
MultiFunction.valsArr(java.util.List<ValueSource> sources,
java.util.Map fcontext,
LeafReaderContext readerContext) |
Constructor and Description |
---|
QueryDocValues(QueryValueSource vs,
LeafReaderContext readerContext,
java.util.Map fcontext) |
Modifier and Type | Method and Description |
---|---|
Explanation |
PayloadScoreQuery.PayloadSpanWeight.explain(LeafReaderContext context,
int doc) |
Spans |
PayloadScoreQuery.PayloadSpanWeight.getSpans(LeafReaderContext ctx,
SpanWeight.Postings requiredPostings) |
Spans |
SpanPayloadCheckQuery.SpanPayloadCheckWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings) |
PayloadScoreQuery.PayloadSpanScorer |
PayloadScoreQuery.PayloadSpanWeight.scorer(LeafReaderContext context) |
SpanScorer |
SpanPayloadCheckQuery.SpanPayloadCheckWeight.scorer(LeafReaderContext context) |
Modifier and Type | Field and Description |
---|---|
(package private) LeafReaderContext[] |
IndexSearcher.LeafSlice.leaves |
protected LeafReaderContext |
TermCollectingRewrite.TermCollector.readerContext |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.List<LeafReaderContext> |
CachingCollector.NoScoreCachingCollector.contexts |
protected java.util.List<LeafReaderContext> |
IndexSearcher.leafContexts |
private java.util.function.Predicate<LeafReaderContext> |
LRUQueryCache.leavesToCache |
Modifier and Type | Method and Description |
---|---|
(package private) BulkScorer |
BooleanWeight.booleanScorer(LeafReaderContext context)
Try to build a boolean scorer for this weight.
|
BulkScorer |
BooleanWeight.bulkScorer(LeafReaderContext context) |
BulkScorer |
LRUQueryCache.CachingWrapperWeight.bulkScorer(LeafReaderContext context) |
BulkScorer |
Weight.bulkScorer(LeafReaderContext context)
Optional method, to return a
BulkScorer to
score the query and send hits to a Collector . |
private DocIdSet |
LRUQueryCache.CachingWrapperWeight.cache(LeafReaderContext context) |
protected void |
FieldComparator.NumericComparator.doSetNextReader(LeafReaderContext context) |
protected void |
SimpleCollector.doSetNextReader(LeafReaderContext context)
This method is called before collecting
context . |
protected abstract void |
SimpleFieldComparator.doSetNextReader(LeafReaderContext context)
This method is called before collecting
context . |
Explanation |
BooleanWeight.explain(LeafReaderContext context,
int doc) |
Explanation |
ConstantScoreWeight.explain(LeafReaderContext context,
int doc) |
Explanation |
DisjunctionMaxQuery.DisjunctionMaxWeight.explain(LeafReaderContext context,
int doc)
Explain the score we computed for doc
|
Explanation |
MultiPhraseQuery.MultiPhraseWeight.explain(LeafReaderContext context,
int doc) |
Explanation |
PhraseQuery.PhraseWeight.explain(LeafReaderContext context,
int doc) |
Explanation |
SynonymQuery.SynonymWeight.explain(LeafReaderContext context,
int doc) |
Explanation |
TermQuery.TermWeight.explain(LeafReaderContext context,
int doc) |
abstract Explanation |
Weight.explain(LeafReaderContext context,
int doc)
An explanation of the score computation for the named document.
|
Explanation |
TermAutomatonQuery.TermAutomatonWeight.explain(LeafReaderContext context,
int doc) |
(package private) DocIdSet |
LRUQueryCache.get(Query key,
LeafReaderContext context) |
protected BinaryDocValues |
FieldComparator.TermValComparator.getBinaryDocValues(LeafReaderContext context,
java.lang.String field)
Retrieves the BinaryDocValues for the field in this segment
|
LeafFieldComparator[] |
FieldValueHitQueue.getComparators(LeafReaderContext context) |
protected Bits |
FieldComparator.TermValComparator.getDocsWithField(LeafReaderContext context,
java.lang.String field)
Retrieves the set of documents that have a value in this segment
|
protected Bits |
FieldComparator.NumericComparator.getDocsWithValue(LeafReaderContext context,
java.lang.String field)
Retrieves a
Bits instance representing documents that have a value in this segment. |
protected abstract NumericDocValues |
DiversifiedTopDocsCollector.getKeys(LeafReaderContext context)
Get a source of values used for grouping keys
|
LeafCollector |
CachingCollector.NoScoreCachingCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
Collector.getLeafCollector(LeafReaderContext context)
Create a new
collector to collect the given context. |
LeafCollector |
FilterCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
MultiCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
PositiveScoresOnlyCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
SimpleCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
TimeLimitingCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
TopFieldCollector.SimpleFieldCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
TopFieldCollector.PagingFieldCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
TopScoreDocCollector.SimpleTopScoreDocCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
TopScoreDocCollector.PagingTopScoreDocCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
DiversifiedTopDocsCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
EarlyTerminatingSortingCollector.getLeafCollector(LeafReaderContext context) |
abstract LeafFieldComparator |
FieldComparator.getLeafComparator(LeafReaderContext context)
Get a per-segment
LeafFieldComparator to collect the given
LeafReaderContext . |
LeafFieldComparator |
FieldComparator.RelevanceComparator.getLeafComparator(LeafReaderContext context) |
LeafFieldComparator |
FieldComparator.DocComparator.getLeafComparator(LeafReaderContext context) |
LeafFieldComparator |
FieldComparator.TermOrdValComparator.getLeafComparator(LeafReaderContext context) |
LeafFieldComparator |
FieldComparator.TermValComparator.getLeafComparator(LeafReaderContext context) |
LeafFieldComparator |
SimpleFieldComparator.getLeafComparator(LeafReaderContext context) |
protected abstract Bits |
RandomAccessWeight.getMatchingDocs(LeafReaderContext context)
Return a
Bits instance representing documents that match this
weight on the given context. |
protected NumericDocValues |
FieldComparator.NumericComparator.getNumericDocValues(LeafReaderContext context,
java.lang.String field)
Retrieves the NumericDocValues for the field in this segment
|
protected SortedDocValues |
FieldComparator.TermOrdValComparator.getSortedDocValues(LeafReaderContext context,
java.lang.String field)
Retrieves the SortedDocValues for the field in this segment
|
private TermsEnum |
TermQuery.TermWeight.getTermsEnum(LeafReaderContext context)
Returns a
TermsEnum positioned at this weights Term or null if
the term does not exist in the given context |
(package private) BulkScorer |
BooleanWeight.optionalBulkScorer(LeafReaderContext context) |
(package private) void |
LRUQueryCache.putIfAbsent(Query query,
LeafReaderContext context,
DocIdSet set) |
private BulkScorer |
BooleanWeight.requiredBulkScorer(LeafReaderContext context) |
Scorer |
BooleanWeight.scorer(LeafReaderContext context) |
Scorer |
DisjunctionMaxQuery.DisjunctionMaxWeight.scorer(LeafReaderContext context)
Create the scorer used to score our associated DisjunctionMaxQuery
|
Scorer |
LRUQueryCache.CachingWrapperWeight.scorer(LeafReaderContext context) |
Scorer |
MultiPhraseQuery.MultiPhraseWeight.scorer(LeafReaderContext context) |
Scorer |
PhraseQuery.PhraseWeight.scorer(LeafReaderContext context) |
Scorer |
RandomAccessWeight.scorer(LeafReaderContext context) |
Scorer |
SynonymQuery.SynonymWeight.scorer(LeafReaderContext context) |
Scorer |
TermQuery.TermWeight.scorer(LeafReaderContext context) |
abstract Scorer |
Weight.scorer(LeafReaderContext context)
Returns a
Scorer which can iterate in order over all matching
documents and assign them a score. |
Scorer |
TermAutomatonQuery.TermAutomatonWeight.scorer(LeafReaderContext context) |
void |
TermCollectingRewrite.TermCollector.setReaderContext(IndexReaderContext topReaderContext,
LeafReaderContext readerContext) |
private boolean |
LRUQueryCache.CachingWrapperWeight.shouldCache(LeafReaderContext context)
Check whether this segment is eligible for caching, regardless of the query.
|
boolean |
LRUQueryCache.MinSegmentSizePredicate.test(LeafReaderContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
IndexSearcher.search(java.util.List<LeafReaderContext> leaves,
Weight weight,
Collector collector)
Lower-level search API.
|
protected IndexSearcher.LeafSlice[] |
IndexSearcher.slices(java.util.List<LeafReaderContext> leaves)
Expert: Creates an array of leaf slices each holding a subset of the given leaves.
|
Constructor and Description |
---|
LeafSlice(LeafReaderContext... leaves) |
Constructor and Description |
---|
LRUQueryCache(int maxSize,
long maxRamBytesUsed,
java.util.function.Predicate<LeafReaderContext> leavesToCache)
Expert: Create a new instance that will cache at most
maxSize
queries with at most maxRamBytesUsed bytes of memory, only on
leaves that satisfy leavesToCache ; |
Modifier and Type | Field and Description |
---|---|
private LeafReaderContext |
BlockGroupingCollector.currentReaderContext |
(package private) LeafReaderContext |
BlockGroupingCollector.OneGroup.readerContext |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractFirstPassGroupingCollector.doSetNextReader(LeafReaderContext readerContext) |
protected void |
AbstractSecondPassGroupingCollector.doSetNextReader(LeafReaderContext readerContext) |
protected void |
BlockGroupingCollector.doSetNextReader(LeafReaderContext readerContext) |
Modifier and Type | Field and Description |
---|---|
private LeafReaderContext |
FunctionAllGroupHeadsCollector.readerContext |
Modifier and Type | Method and Description |
---|---|
protected void |
FunctionAllGroupHeadsCollector.doSetNextReader(LeafReaderContext context) |
protected void |
FunctionAllGroupsCollector.doSetNextReader(LeafReaderContext context) |
protected void |
FunctionDistinctValuesCollector.doSetNextReader(LeafReaderContext context) |
protected void |
FunctionFirstPassGroupingCollector.doSetNextReader(LeafReaderContext readerContext) |
protected void |
FunctionSecondPassGroupingCollector.doSetNextReader(LeafReaderContext readerContext) |
Modifier and Type | Field and Description |
---|---|
(package private) LeafReaderContext |
TermAllGroupHeadsCollector.readerContext |
Modifier and Type | Method and Description |
---|---|
protected void |
TermAllGroupHeadsCollector.GeneralAllGroupHeadsCollector.doSetNextReader(LeafReaderContext context) |
protected void |
TermAllGroupHeadsCollector.OrdScoreAllGroupHeadsCollector.doSetNextReader(LeafReaderContext context) |
protected void |
TermAllGroupHeadsCollector.OrdAllGroupHeadsCollector.doSetNextReader(LeafReaderContext context) |
protected void |
TermAllGroupHeadsCollector.ScoreAllGroupHeadsCollector.doSetNextReader(LeafReaderContext context) |
protected void |
TermAllGroupsCollector.doSetNextReader(LeafReaderContext context) |
protected void |
TermDistinctValuesCollector.doSetNextReader(LeafReaderContext context) |
protected void |
TermFirstPassGroupingCollector.doSetNextReader(LeafReaderContext readerContext) |
protected void |
TermGroupFacetCollector.SV.doSetNextReader(LeafReaderContext context) |
protected void |
TermGroupFacetCollector.MV.doSetNextReader(LeafReaderContext context) |
protected void |
TermSecondPassGroupingCollector.doSetNextReader(LeafReaderContext readerContext) |
Modifier and Type | Method and Description |
---|---|
protected LeafReaderContext |
WeightedSpanTermExtractor.getLeafContext() |
Modifier and Type | Field and Description |
---|---|
(package private) LeafReaderContext |
ToParentBlockJoinCollector.OneGroup.readerContext |
Modifier and Type | Method and Description |
---|---|
protected void |
DocValuesTermsCollector.doSetNextReader(LeafReaderContext context) |
Explanation |
GlobalOrdinalsQuery.W.explain(LeafReaderContext context,
int doc) |
Explanation |
GlobalOrdinalsWithScoreQuery.W.explain(LeafReaderContext context,
int doc) |
Explanation |
ToChildBlockJoinQuery.ToChildBlockJoinWeight.explain(LeafReaderContext context,
int doc) |
Explanation |
ToParentBlockJoinQuery.BlockJoinWeight.explain(LeafReaderContext context,
int doc) |
Explanation |
ToParentBlockJoinQuery.BlockJoinScorer.explain(LeafReaderContext context,
Weight childWeight) |
BitSet |
BitSetProducer.getBitSet(LeafReaderContext context)
Produce a
BitSet matching the expected documents on the given
segment. |
BitSet |
QueryBitSetProducer.getBitSet(LeafReaderContext context) |
LeafCollector |
GlobalOrdinalsCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
GlobalOrdinalsWithScoreCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
GlobalOrdinalsWithScoreCollector.NoScore.getLeafCollector(LeafReaderContext context) |
LeafCollector |
ToParentBlockJoinCollector.getLeafCollector(LeafReaderContext context) |
Scorer |
GlobalOrdinalsQuery.W.scorer(LeafReaderContext context) |
Scorer |
GlobalOrdinalsWithScoreQuery.W.scorer(LeafReaderContext context) |
Scorer |
ToChildBlockJoinQuery.ToChildBlockJoinWeight.scorer(LeafReaderContext readerContext) |
Scorer |
ToParentBlockJoinQuery.BlockJoinWeight.scorer(LeafReaderContext readerContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
ToParentBlockJoinIndexSearcher.search(java.util.List<LeafReaderContext> leaves,
Weight weight,
Collector collector) |
Modifier and Type | Method and Description |
---|---|
private java.util.Map<java.lang.Integer,java.lang.Object> |
PostingsHighlighter.highlightField(java.lang.String field,
java.lang.String[] contents,
java.text.BreakIterator bi,
BytesRef[] terms,
int[] docids,
java.util.List<LeafReaderContext> leaves,
int maxPassages,
Query query) |
Modifier and Type | Method and Description |
---|---|
Similarity.SimScorer |
BM25Similarity.simScorer(Similarity.SimWeight stats,
LeafReaderContext context) |
Similarity.SimScorer |
MultiSimilarity.simScorer(Similarity.SimWeight stats,
LeafReaderContext context) |
Similarity.SimScorer |
PerFieldSimilarityWrapper.simScorer(Similarity.SimWeight weight,
LeafReaderContext context) |
abstract Similarity.SimScorer |
Similarity.simScorer(Similarity.SimWeight weight,
LeafReaderContext context)
Creates a new
Similarity.SimScorer to score matching documents from a segment of the inverted index. |
Similarity.SimScorer |
SimilarityBase.simScorer(Similarity.SimWeight stats,
LeafReaderContext context) |
Similarity.SimScorer |
TFIDFSimilarity.simScorer(Similarity.SimWeight stats,
LeafReaderContext context) |
Modifier and Type | Method and Description |
---|---|
Explanation |
SpanWeight.explain(LeafReaderContext context,
int doc) |
Similarity.SimScorer |
SpanWeight.getSimScorer(LeafReaderContext context)
Return a SimScorer for this context
|
Spans |
SpanContainingQuery.SpanContainingWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings)
Return spans from
big that contain at least one spans from little . |
Spans |
SpanNearQuery.SpanNearWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings) |
Spans |
SpanNearQuery.SpanGapQuery.SpanGapWeight.getSpans(LeafReaderContext ctx,
SpanWeight.Postings requiredPostings) |
Spans |
SpanNotQuery.SpanNotWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings) |
Spans |
SpanOrQuery.SpanOrWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings) |
Spans |
SpanPositionCheckQuery.SpanPositionCheckWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings) |
Spans |
SpanTermQuery.SpanTermWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings) |
abstract Spans |
SpanWeight.getSpans(LeafReaderContext ctx,
SpanWeight.Postings requiredPostings)
Expert: Return a Spans object iterating over matches from this Weight
|
Spans |
SpanWithinQuery.SpanWithinWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings)
Return spans from
little that are contained in a spans from big . |
(package private) java.util.ArrayList<Spans> |
SpanContainQuery.SpanContainWeight.prepareConjunction(LeafReaderContext context,
SpanWeight.Postings postings) |
SpanScorer |
SpanWeight.scorer(LeafReaderContext context) |