Uses of Class
org.apache.lucene.index.TermStates
-
Packages that use TermStates Package Description org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.queries Filters and Queries that add to core Lucene.org.apache.lucene.queries.payloads The payloads package provides Query mechanisms for finding and using payloads.org.apache.lucene.search Code to search indices.org.apache.lucene.search.spans The calculus of spans. -
-
Uses of TermStates in org.apache.lucene.index
Methods in org.apache.lucene.index that return TermStates Modifier and Type Method Description static TermStatesTermStates. build(IndexReaderContext context, Term term, boolean needsStats) -
Uses of TermStates in org.apache.lucene.queries
Methods in org.apache.lucene.queries with parameters of type TermStates Modifier and Type Method Description protected QueryCommonTermsQuery. buildQuery(int maxDoc, TermStates[] contextArray, Term[] queryTerms)voidCommonTermsQuery. collectTermStates(IndexReader reader, java.util.List<LeafReaderContext> leaves, TermStates[] contextArray, Term[] queryTerms)protected QueryCommonTermsQuery. newTermQuery(Term term, TermStates termStates)Builds a new TermQuery instance. -
Uses of TermStates in org.apache.lucene.queries.payloads
Method parameters in org.apache.lucene.queries.payloads with type arguments of type TermStates Modifier and Type Method Description voidPayloadScoreQuery.PayloadSpanWeight. extractTermStates(java.util.Map<Term,TermStates> contexts)voidSpanPayloadCheckQuery.SpanPayloadCheckWeight. extractTermStates(java.util.Map<Term,TermStates> contexts)Constructor parameters in org.apache.lucene.queries.payloads with type arguments of type TermStates Constructor Description SpanPayloadCheckWeight(IndexSearcher searcher, java.util.Map<Term,TermStates> termStates, SpanWeight matchWeight, float boost) -
Uses of TermStates in org.apache.lucene.search
Fields in org.apache.lucene.search declared as TermStates Modifier and Type Field Description private TermStates[]BlendedTermQuery.Builder. contextsprivate TermStates[]BlendedTermQuery. contextsprivate TermStatesTermQuery. perReaderTermState(package private) TermStates[]ScoringRewrite.TermFreqBoostByteStart. termStateTermStatesTopTermsRewrite.ScoreTerm. termStateprivate TermStates[]BM25FQuery.BM25FWeight. termStatesprivate TermStates[]SynonymQuery.SynonymWeight. termStatesprivate TermStatesTermQuery.TermWeight. termStatesFields in org.apache.lucene.search with type parameters of type TermStates Modifier and Type Field Description private java.util.Map<java.lang.Integer,TermStates>TermAutomatonQuery.TermAutomatonWeight. termStatesMethods in org.apache.lucene.search that return TermStates Modifier and Type Method Description private static TermStatesBlendedTermQuery. adjustFrequencies(IndexReaderContext readerContext, TermStates ctx, int artificialDf, long artificialTtf)TermStatesTermQuery. getTermStates()Returns theTermStatespassed to the constructor, or null if it was not passed.Methods in org.apache.lucene.search with parameters of type TermStates Modifier and Type Method Description BlendedTermQuery.BuilderBlendedTermQuery.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)protected abstract voidTermCollectingRewrite. addClause(B topLevel, Term term, int docCount, float boost, TermStates states)private static TermStatesBlendedTermQuery. adjustFrequencies(IndexReaderContext readerContext, TermStates ctx, int artificialDf, long artificialTtf)TermStatisticsIndexSearcher. termStatistics(Term term, TermStates context)Deprecated.in favor ofIndexSearcher.termStatistics(Term, int, long).Constructors in org.apache.lucene.search with parameters of type TermStates Constructor Description BlendedTermQuery(Term[] terms, float[] boosts, TermStates[] contexts, BlendedTermQuery.RewriteMethod rewriteMethod)ScoreTerm(TermStates termState)TermQuery(Term t, TermStates states)Expert: constructs a TermQuery that will use the provided docFreq instead of looking up the docFreq against the searcher.TermWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost, TermStates termStates)Constructor parameters in org.apache.lucene.search with type arguments of type TermStates Constructor Description TermAutomatonWeight(Automaton automaton, IndexSearcher searcher, java.util.Map<java.lang.Integer,TermStates> termStates, float boost) -
Uses of TermStates in org.apache.lucene.search.spans
Fields in org.apache.lucene.search.spans declared as TermStates Modifier and Type Field Description (package private) TermStatesSpanTermQuery.SpanTermWeight. termStatesprotected TermStatesSpanTermQuery. termStatesMethods in org.apache.lucene.search.spans that return TermStates Modifier and Type Method Description TermStatesSpanTermQuery. getTermStates()Returns theTermStatespassed to the constructor, or null if it was not passed.Methods in org.apache.lucene.search.spans that return types with arguments of type TermStates Modifier and Type Method Description static java.util.Map<Term,TermStates>SpanQuery. getTermStates(java.util.Collection<SpanWeight> weights)Build a map of terms toTermStates, for use in constructing SpanWeightsstatic java.util.Map<Term,TermStates>SpanQuery. getTermStates(SpanWeight... weights)Build a map of terms toTermStates, for use in constructing SpanWeightsMethod parameters in org.apache.lucene.search.spans with type arguments of type TermStates Modifier and Type Method Description private Similarity.SimScorerSpanWeight. buildSimWeight(SpanQuery query, IndexSearcher searcher, java.util.Map<Term,TermStates> termStates, float boost)voidSpanContainQuery.SpanContainWeight. extractTermStates(java.util.Map<Term,TermStates> contexts)voidSpanNearQuery.SpanGapQuery.SpanGapWeight. extractTermStates(java.util.Map<Term,TermStates> contexts)voidSpanNearQuery.SpanNearWeight. extractTermStates(java.util.Map<Term,TermStates> contexts)voidSpanNotQuery.SpanNotWeight. extractTermStates(java.util.Map<Term,TermStates> contexts)voidSpanOrQuery.SpanOrWeight. extractTermStates(java.util.Map<Term,TermStates> contexts)voidSpanPositionCheckQuery.SpanPositionCheckWeight. extractTermStates(java.util.Map<Term,TermStates> contexts)voidSpanTermQuery.SpanTermWeight. extractTermStates(java.util.Map<Term,TermStates> contexts)abstract voidSpanWeight. extractTermStates(java.util.Map<Term,TermStates> contexts)Collect all TermStates used by this WeightConstructors in org.apache.lucene.search.spans with parameters of type TermStates Constructor Description SpanTermQuery(Term term, TermStates termStates)Expert: Construct a SpanTermQuery matching the named term's spans, using the provided TermStatesSpanTermWeight(TermStates termStates, IndexSearcher searcher, java.util.Map<Term,TermStates> terms, float boost)Constructor parameters in org.apache.lucene.search.spans with type arguments of type TermStates Constructor Description SpanContainingWeight(IndexSearcher searcher, java.util.Map<Term,TermStates> terms, SpanWeight bigWeight, SpanWeight littleWeight, float boost)SpanContainWeight(IndexSearcher searcher, java.util.Map<Term,TermStates> terms, SpanWeight bigWeight, SpanWeight littleWeight, float boost)SpanNearWeight(java.util.List<SpanWeight> subWeights, IndexSearcher searcher, java.util.Map<Term,TermStates> terms, float boost)SpanNotWeight(IndexSearcher searcher, java.util.Map<Term,TermStates> terms, SpanWeight includeWeight, SpanWeight excludeWeight, float boost)SpanOrWeight(IndexSearcher searcher, java.util.Map<Term,TermStates> terms, java.util.List<SpanWeight> subWeights, float boost)SpanPositionCheckWeight(SpanWeight matchWeight, IndexSearcher searcher, java.util.Map<Term,TermStates> terms, float boost)SpanTermWeight(TermStates termStates, IndexSearcher searcher, java.util.Map<Term,TermStates> terms, float boost)SpanWeight(SpanQuery query, IndexSearcher searcher, java.util.Map<Term,TermStates> termStates, float boost)Create a new SpanWeightSpanWithinWeight(IndexSearcher searcher, java.util.Map<Term,TermStates> terms, SpanWeight bigWeight, SpanWeight littleWeight, float boost)
-