Uses of Class
org.apache.lucene.index.TermStates
Package
Description
Code to maintain and access indices.
Code to search indices.
-
Uses of TermStates in org.apache.lucene.index
Modifier and TypeMethodDescriptionstatic TermStates
TermStates.build
(IndexReaderContext context, Term term, boolean needsStats) -
Uses of TermStates in org.apache.lucene.search
Modifier and TypeMethodDescriptionTermQuery.getTermStates()
Returns theTermStates
passed to the constructor, or null if it was not passed.Modifier and TypeMethodDescriptionBlendedTermQuery.Builder.add
(Term term, float boost, TermStates context) Expert: Add aTerm
with the provided boost and context.protected void
MultiTermQuery.TopTermsBlendedFreqScoringRewrite.addClause
(BlendedTermQuery.Builder topLevel, Term term, int docCount, float boost, TermStates states) protected void
MultiTermQuery.TopTermsBoostOnlyBooleanQueryRewrite.addClause
(BooleanQuery.Builder topLevel, Term term, int docFreq, float boost, TermStates states) protected void
MultiTermQuery.TopTermsScoringBooleanQueryRewrite.addClause
(BooleanQuery.Builder topLevel, Term term, int docCount, float boost, TermStates states) ModifierConstructorDescriptionTermQuery
(Term t, TermStates states) Expert: constructs a TermQuery that will use the provided docFreq instead of looking up the docFreq against the searcher.