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 TermStatesTermStates.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 theTermStatespassed 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 aTermwith the provided boost and context.protected voidMultiTermQuery.TopTermsBlendedFreqScoringRewrite.addClause(BlendedTermQuery.Builder topLevel, Term term, int docCount, float boost, TermStates states) protected voidMultiTermQuery.TopTermsBoostOnlyBooleanQueryRewrite.addClause(BooleanQuery.Builder topLevel, Term term, int docFreq, float boost, TermStates states) protected voidMultiTermQuery.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.