private class MtasDisabledTwoPhaseIteratorSpanQuery.MtasDisabledTwoPhaseIteratorWeight extends MtasSpanWeight
Modifier and Type | Field and Description |
---|---|
(package private) org.apache.lucene.search.spans.SpanWeight |
subWeight
The sub weight.
|
Constructor and Description |
---|
MtasDisabledTwoPhaseIteratorWeight(org.apache.lucene.search.spans.SpanWeight subWeight,
org.apache.lucene.search.IndexSearcher searcher,
boolean needsScores,
float boost)
Instantiates a new mtas disabled two phase iterator weight.
|
Modifier and Type | Method and Description |
---|---|
void |
extractTermContexts(Map<org.apache.lucene.index.Term,org.apache.lucene.index.TermContext> contexts) |
void |
extractTerms(Set<org.apache.lucene.index.Term> terms) |
MtasSpans |
getSpans(org.apache.lucene.index.LeafReaderContext ctx,
org.apache.lucene.search.spans.SpanWeight.Postings requiredPostings) |
isCacheable
public MtasDisabledTwoPhaseIteratorWeight(org.apache.lucene.search.spans.SpanWeight subWeight, org.apache.lucene.search.IndexSearcher searcher, boolean needsScores, float boost) throws IOException
subWeight
- the sub weightsearcher
- the searcherneedsScores
- the needs scoresIOException
- Signals that an I/O exception has occurred.public void extractTermContexts(Map<org.apache.lucene.index.Term,org.apache.lucene.index.TermContext> contexts)
extractTermContexts
in class org.apache.lucene.search.spans.SpanWeight
public MtasSpans getSpans(org.apache.lucene.index.LeafReaderContext ctx, org.apache.lucene.search.spans.SpanWeight.Postings requiredPostings) throws IOException
getSpans
in class org.apache.lucene.search.spans.SpanWeight
IOException
public void extractTerms(Set<org.apache.lucene.index.Term> terms)
extractTerms
in class org.apache.lucene.search.Weight
Copyright © 2018 Meertens Institute. All rights reserved.