## Uses of Class
org.apache.lucene.index.TermContext

Packages that use TermContext
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
`static TermContext` `TermContext.build(IndexReaderContext context, Term term, boolean cache)` Creates a `TermContext` from a top-level `IndexReaderContext` and the given `Term`.

Uses of TermContext in org.apache.lucene.search

Methods in org.apache.lucene.search with parameters of type TermContext
`protected void` `MultiTermQuery.TopTermsScoringBooleanQueryRewrite.addClause(BooleanQuery topLevel, Term term, int docCount, float boost, TermContext states)`
`protected void` `MultiTermQuery.TopTermsBoostOnlyBooleanQueryRewrite.addClause(BooleanQuery topLevel, Term term, int docFreq, float boost, TermContext states)`
`TermStatistics` `IndexSearcher.termStatistics(Term term, TermContext context)` Returns `TermStatistics` for a term.

Constructors in org.apache.lucene.search with parameters of type TermContext
`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
`protected Map<Term,TermContext>` `SpanWeight.termContexts`

Method parameters in org.apache.lucene.search.spans with type arguments of type TermContext
`Spans` `SpanTermQuery.getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)`
`Spans` `SpanPositionCheckQuery.getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)`
`Spans` `SpanOrQuery.getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)`
`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)`
`abstract Spans` `SpanQuery.getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)` Expert: Returns the matches for this query in an index.
`Spans` `SpanNotQuery.getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)`

Constructor parameters in org.apache.lucene.search.spans with type arguments of type TermContext
`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)`
`SpanPositionCheckQuery.PositionCheckSpan(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)`

Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.