Uses of Class
org.apache.lucene.index.TermStates
Packages that use TermStates
Package
Description
Code to maintain and access indices.
Code to search indices.
-
Uses of TermStates in org.apache.lucene.index
Methods in org.apache.lucene.index that return TermStatesModifier and TypeMethodDescriptionstatic TermStates
TermStates.build
(IndexSearcher indexSearcher, Term term, boolean needsStats) -
Uses of TermStates in org.apache.lucene.search
Methods in org.apache.lucene.search that return TermStatesModifier and TypeMethodDescriptionTermQuery.getTermStates()
Returns theTermStates
passed to the constructor, or null if it was not passed.Methods in org.apache.lucene.search with parameters of type TermStatesModifier 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) Constructors in org.apache.lucene.search with parameters of type TermStatesModifierConstructorDescriptionTermQuery
(Term t, TermStates states) Expert: constructs a TermQuery that will use the provided docFreq instead of looking up the docFreq against the searcher.