Uses of Class
org.apache.lucene.index.TermContext
-
Packages that use TermContext Package Description org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.search Code to search indices.org.apache.lucene.search.spans The calculus of spans. -
-
Uses of TermContext in org.apache.lucene.index
Methods in org.apache.lucene.index that return TermContext Modifier and Type Method Description static TermContext
TermContext. build(IndexReaderContext context, Term term)
-
Uses of TermContext in org.apache.lucene.search
Methods in org.apache.lucene.search with parameters of type TermContext Modifier and Type Method Description protected void
MultiTermQuery.TopTermsBoostOnlyBooleanQueryRewrite. addClause(BooleanQuery topLevel, Term term, int docFreq, float boost, TermContext states)
protected void
MultiTermQuery.TopTermsScoringBooleanQueryRewrite. addClause(BooleanQuery topLevel, Term term, int docCount, float boost, TermContext states)
TermStatistics
IndexSearcher. termStatistics(Term term, TermContext context)
ReturnsTermStatistics
for a term.Constructors in org.apache.lucene.search with parameters of type TermContext Constructor Description TermQuery(Term t, TermContext states)
Expert: constructs a TermQuery that will use the provided docFreq instead of looking up the docFreq against the searcher. -
Uses of TermContext in org.apache.lucene.search.spans
Fields in org.apache.lucene.search.spans with type parameters of type TermContext Modifier and Type Field Description protected Map<Term,TermContext>
SpanWeight. termContexts
Method parameters in org.apache.lucene.search.spans with type arguments of type TermContext Modifier and Type Method Description Spans
FieldMaskingSpanQuery. getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
Spans
SpanMultiTermQueryWrapper. getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
Spans
SpanNearQuery. getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
Spans
SpanNotQuery. getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
Spans
SpanOrQuery. getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
Spans
SpanPositionCheckQuery. getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
abstract Spans
SpanQuery. getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
Expert: Returns the matches for this query in an index.Spans
SpanTermQuery. getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
Constructor parameters in org.apache.lucene.search.spans with type arguments of type TermContext Constructor Description NearSpansOrdered(SpanNearQuery spanNearQuery, AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
NearSpansOrdered(SpanNearQuery spanNearQuery, AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts, boolean collectPayloads)
NearSpansUnordered(SpanNearQuery query, AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
PositionCheckSpan(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
-