Uses of Class
org.apache.lucene.index.Terms
Packages that use Terms
Package
Description
BlockTree terms dictionary.
Lucene 5.0 compressing format.
Uses already seen data (the indexed documents) to classify an input ( can be simple text or a
structured document).
Utilities for evaluation, data preparation, etc.
Pluggable term index / block terms dictionary implementations.
Same postings format as Lucene50, except the terms dictionary also supports ords, i.e.
Codec PostingsFormat for fast access to low-frequency terms such as primary key fields.
BlockTree terms dictionary.
Lucene 9.0 compressing format.
Term dictionary, DocValues or Postings formats that are read entirely into memory.
Postings format that can delegate to different formats per-field.
Simpletext Codec: writes human readable postings.
Pluggable term index / block terms dictionary implementations.
Pluggable term index / block terms dictionary implementations.
Code to maintain and access indices.
High-performance single-document main memory Apache Lucene fulltext search index.
Document similarity query generators.
A primary-key postings format that associates a version (long) with each term and can provide
fail-fast lookups by ID and version.
This package contains a flexible graph-based proximity query, TermAutomatonQuery, and geospatial
queries.
Code to search indices.
Highlighting search terms.
Support for index-time and query-time joins.
Support for document suggestion
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term
vectors, or analysis.
Some utility classes.
Finite-state automaton for regular expressions.
-
Uses of Terms in org.apache.lucene.backward_codecs.lucene40.blocktree
Subclasses of Terms in org.apache.lucene.backward_codecs.lucene40.blocktreeMethods in org.apache.lucene.backward_codecs.lucene40.blocktree that return Terms -
Uses of Terms in org.apache.lucene.backward_codecs.lucene50.compressing
Subclasses of Terms in org.apache.lucene.backward_codecs.lucene50.compressingModifier and TypeClassDescriptionprivate static class
Methods in org.apache.lucene.backward_codecs.lucene50.compressing that return Terms -
Uses of Terms in org.apache.lucene.classification
Fields in org.apache.lucene.classification declared as Terms -
Uses of Terms in org.apache.lucene.classification.utils
Methods in org.apache.lucene.classification.utils with parameters of type TermsModifier and TypeMethodDescriptionstatic Double[]
DocToDoubleVectorUtils.toDenseLocalFreqDoubleArray
(Terms docTerms) create a denseDouble
vector given doc and field term vectors using local frequency of the terms in the docstatic Double[]
DocToDoubleVectorUtils.toSparseLocalFreqDoubleArray
(Terms docTerms, Terms fieldTerms) create a sparseDouble
vector given doc and field term vectors using local frequency of the terms in the doc -
Uses of Terms in org.apache.lucene.codecs.blockterms
Subclasses of Terms in org.apache.lucene.codecs.blocktermsMethods in org.apache.lucene.codecs.blockterms that return Terms -
Uses of Terms in org.apache.lucene.codecs.blocktreeords
Subclasses of Terms in org.apache.lucene.codecs.blocktreeordsModifier and TypeClassDescription(package private) final class
BlockTree's implementation ofTerms
.Methods in org.apache.lucene.codecs.blocktreeords that return Terms -
Uses of Terms in org.apache.lucene.codecs.bloom
Subclasses of Terms in org.apache.lucene.codecs.bloomModifier and TypeClassDescription(package private) static class
Fields in org.apache.lucene.codecs.bloom declared as TermsModifier and TypeFieldDescriptionprivate Terms
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTerms.delegateTerms
private Terms
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTermsEnum.delegateTerms
Methods in org.apache.lucene.codecs.bloom that return TermsModifier and TypeMethodDescriptionMethods in org.apache.lucene.codecs.bloom with parameters of type TermsModifier and TypeMethodDescription(package private) void
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTermsEnum.reset
(Terms delegateTerms) Constructors in org.apache.lucene.codecs.bloom with parameters of type TermsModifierConstructorDescriptionBloomFilteredTerms
(Terms terms, FuzzySet filter) BloomFilteredTermsEnum
(Terms delegateTerms, FuzzySet filter) -
Uses of Terms in org.apache.lucene.codecs.lucene90.blocktree
Subclasses of Terms in org.apache.lucene.codecs.lucene90.blocktreeMethods in org.apache.lucene.codecs.lucene90.blocktree that return Terms -
Uses of Terms in org.apache.lucene.codecs.lucene90.compressing
Subclasses of Terms in org.apache.lucene.codecs.lucene90.compressingModifier and TypeClassDescriptionprivate static class
Methods in org.apache.lucene.codecs.lucene90.compressing that return Terms -
Uses of Terms in org.apache.lucene.codecs.memory
Subclasses of Terms in org.apache.lucene.codecs.memoryModifier and TypeClassDescriptionprivate static final class
(package private) final class
Methods in org.apache.lucene.codecs.memory that return TermsModifier and TypeMethodDescriptionConstructors in org.apache.lucene.codecs.memory with parameters of type TermsModifierConstructorDescriptionDirectField
(SegmentReadState state, String field, Terms termsIn, int minSkipCount, int lowFreqCutoff) -
Uses of Terms in org.apache.lucene.codecs.perfield
Methods in org.apache.lucene.codecs.perfield that return Terms -
Uses of Terms in org.apache.lucene.codecs.simpletext
Subclasses of Terms in org.apache.lucene.codecs.simpletextModifier and TypeClassDescriptionprivate class
private static class
Methods in org.apache.lucene.codecs.simpletext that return Terms -
Uses of Terms in org.apache.lucene.codecs.uniformsplit
Subclasses of Terms in org.apache.lucene.codecs.uniformsplitMethods in org.apache.lucene.codecs.uniformsplit that return Terms -
Uses of Terms in org.apache.lucene.index
Subclasses of Terms in org.apache.lucene.indexModifier and TypeClassDescriptionstatic class
Wrapper class for another Terms implementation that is used by ExitableFields.static class
Base class for filteringTerms
implementations.private static class
(package private) static class
private static class
final class
Exposes flex API, merged from flex API of sub-segments.Fields in org.apache.lucene.index declared as TermsModifier and TypeFieldDescriptionprivate static final Terms
Terms.EMPTY
An emptyTerms
which returns no termsstatic final Terms[]
Terms.EMPTY_ARRAY
Zero-length array ofTerms
.protected final Terms
FilterLeafReader.FilterTerms.in
The underlying Terms instance.private final Terms[]
MultiTerms.subs
Fields in org.apache.lucene.index with type parameters of type TermsMethods in org.apache.lucene.index that return TermsModifier and TypeMethodDescriptionfinal Terms
Retrieve term vector for this document and field, or null if term vectors were not indexed.Terms[]
MultiTerms.getSubTerms()
Expert: returns the Terms being merged.static Terms
MultiTerms.getTerms
(IndexReader r, String field) This method may return null if the field does not exist or if it has no terms.static Terms
Terms.getTerms
(LeafReader reader, String field) final Terms
IndexReader.getTermVector
(int docID, String field) Deprecated.final Terms
final Terms
abstract Terms
Get theTerms
for this field.abstract Terms
Returns theTerms
index for this field, or null if it has none.Methods in org.apache.lucene.index with parameters of type TermsModifier and TypeMethodDescription(package private) void
private static void
CheckIndex.checkTermsIntersect
(Terms terms, Automaton automaton, BytesRef startTerm) Constructors in org.apache.lucene.index with parameters of type TermsModifierConstructorDescriptionExitableTerms
(Terms terms, QueryTimeout queryTimeout) Constructor *protected
FilterTerms
(Terms in) Creates a new FilterTermsMultiTerms
(Terms[] subs, ReaderSlice[] subSlices) Sole constructor.(package private)
SortingTerms
(Terms in, IndexOptions indexOptions, Sorter.DocMap docMap) -
Uses of Terms in org.apache.lucene.index.memory
Methods in org.apache.lucene.index.memory that return Terms -
Uses of Terms in org.apache.lucene.queries.mlt
Methods in org.apache.lucene.queries.mlt with parameters of type TermsModifier and TypeMethodDescriptionprivate void
MoreLikeThis.addTermFrequencies
(Map<String, Map<String, MoreLikeThis.Int>> field2termFreqMap, Terms vector, String fieldName) Adds terms and frequencies found in vector into the Map termFreqMap -
Uses of Terms in org.apache.lucene.sandbox.codecs.idversion
Subclasses of Terms in org.apache.lucene.sandbox.codecs.idversionModifier and TypeClassDescription(package private) final class
BlockTree's implementation ofTerms
.Methods in org.apache.lucene.sandbox.codecs.idversion that return Terms -
Uses of Terms in org.apache.lucene.sandbox.search
Methods in org.apache.lucene.sandbox.search with parameters of type TermsModifier and TypeMethodDescriptionprotected void
PhraseWildcardQuery.checkTermsHavePositions
(Terms terms) -
Uses of Terms in org.apache.lucene.search
Fields in org.apache.lucene.search declared as TermsMethods in org.apache.lucene.search with parameters of type TermsModifier and TypeMethodDescriptionprivate static long
AbstractMultiTermQueryConstantScoreWrapper.RewritingWeight.estimateCost
(Terms terms, long queryTermsCount) protected TermsEnum
AutomatonQuery.getTermsEnum
(Terms terms, AttributeSource atts) protected TermsEnum
FuzzyQuery.getTermsEnum
(Terms terms, AttributeSource atts) final TermsEnum
MultiTermQuery.getTermsEnum
(Terms terms) Constructs an enumeration that expands the pattern term.protected abstract TermsEnum
MultiTermQuery.getTermsEnum
(Terms terms, AttributeSource atts) Construct the enumeration to be used, expanding the pattern term.protected TermsEnum
MultiTermQuery.RewriteMethod.getTermsEnum
(MultiTermQuery query, Terms terms, AttributeSource atts) Returns theMultiTermQuery
sTermsEnum
protected TermsEnum
TermInSetQuery.getTermsEnum
(Terms terms, AttributeSource atts) protected abstract AbstractMultiTermQueryConstantScoreWrapper.WeightOrDocIdSetIterator
AbstractMultiTermQueryConstantScoreWrapper.RewritingWeight.rewriteInner
(LeafReaderContext context, int fieldDocCount, Terms terms, TermsEnum termsEnum, List<AbstractMultiTermQueryConstantScoreWrapper.TermAndState> collectedTerms) Rewrite the query as either aWeight
or aDocIdSetIterator
wrapped in aAbstractMultiTermQueryConstantScoreWrapper.WeightOrDocIdSetIterator
.Constructors in org.apache.lucene.search with parameters of type TermsModifierConstructorDescriptionFuzzyTermsEnum
(Terms terms, Term term, int maxEdits, int prefixLength, boolean transpositions) Constructor for enumeration of all terms from specifiedreader
which share a prefix of lengthprefixLength
withterm
and which have at mostmaxEdits
edits.(package private)
FuzzyTermsEnum
(Terms terms, AttributeSource atts, Term term, int maxEdits, int prefixLength, boolean transpositions) Constructor for enumeration of all terms from specifiedreader
which share a prefix of lengthprefixLength
withterm
and which have at mostmaxEdits
edits.private
FuzzyTermsEnum
(Terms terms, AttributeSource atts, Term term, Supplier<FuzzyAutomatonBuilder> automatonBuilder) -
Uses of Terms in org.apache.lucene.search.highlight
Fields in org.apache.lucene.search.highlight declared as TermsMethods in org.apache.lucene.search.highlight that return TermsMethods in org.apache.lucene.search.highlight with parameters of type TermsModifier and TypeMethodDescriptionstatic TokenStream
TokenSources.getTokenStream
(Terms tpv) Deprecated.static TokenStream
TokenSources.getTokenStream
(Terms vector, boolean tokenPositionsGuaranteedContiguous) Deprecated.Constructors in org.apache.lucene.search.highlight with parameters of type TermsModifierConstructorDescriptionTermVectorLeafReader
(String field, Terms terms) TokenStreamFromTermVector
(Terms vector, int maxStartOffset) Constructor. -
Uses of Terms in org.apache.lucene.search.join
Methods in org.apache.lucene.search.join with parameters of type TermsModifier and TypeMethodDescriptionprotected TermsEnum
TermsQuery.getTermsEnum
(Terms terms, AttributeSource atts) -
Uses of Terms in org.apache.lucene.search.suggest.document
Subclasses of Terms in org.apache.lucene.search.suggest.documentModifier and TypeClassDescriptionfinal class
WrappedTerms
used bySuggestField
andContextSuggestField
to access corresponding suggester and their attributesMethods in org.apache.lucene.search.suggest.document that return TermsConstructors in org.apache.lucene.search.suggest.document with parameters of type TermsModifierConstructorDescription(package private)
CompletionTerms
(Terms in, CompletionsTermsReader reader) Creates a completionTerms based onCompletionsTermsReader
-
Uses of Terms in org.apache.lucene.search.uhighlight
Subclasses of Terms in org.apache.lucene.search.uhighlightModifier and TypeClassDescriptionprivate static final class
Fields in org.apache.lucene.search.uhighlight declared as TermsModifier and TypeFieldDescriptionprivate final Terms
TermVectorFilteredLeafReader.filterTerms
private final Terms
TermVectorFilteredLeafReader.TermsFilteredTerms.filterTerms
Methods in org.apache.lucene.search.uhighlight that return TermsModifier and TypeMethodDescriptionMethods in org.apache.lucene.search.uhighlight with parameters of type TermsModifier and TypeMethodDescriptionprotected void
FieldOffsetStrategy.createOffsetsEnumsForAutomata
(Terms termsIndex, int doc, List<OffsetsEnum> results) protected void
FieldOffsetStrategy.createOffsetsEnumsForTerms
(BytesRef[] sourceTerms, Terms termsIndex, int doc, List<OffsetsEnum> results) Constructors in org.apache.lucene.search.uhighlight with parameters of type TermsModifierConstructorDescription(package private)
TermsFilteredTerms
(Terms baseTerms, Terms filterTerms) (package private)
TermVectorFilteredLeafReader
(LeafReader baseLeafReader, Terms filterTerms, String fieldFilter) Construct a FilterLeafReader based on the specified base reader. -
Uses of Terms in org.apache.lucene.util
Constructors in org.apache.lucene.util with parameters of type TermsModifierConstructorDescriptionDocIdSetBuilder
(int maxDoc, Terms terms) Create aDocIdSetBuilder
instance that is optimized for accumulating docs that match the givenTerms
. -
Uses of Terms in org.apache.lucene.util.automaton
Methods in org.apache.lucene.util.automaton with parameters of type Terms
IndexReader.termVectors()
to retrieve one or more documents