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 classMethods 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 denseDoublevector given doc and field term vectors using local frequency of the terms in the docstatic Double[]DocToDoubleVectorUtils.toSparseLocalFreqDoubleArray(Terms docTerms, Terms fieldTerms) create a sparseDoublevector 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 classBlockTree'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 classFields in org.apache.lucene.codecs.bloom declared as TermsModifier and TypeFieldDescriptionprivate TermsBloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTerms.delegateTermsprivate TermsBloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTermsEnum.delegateTermsMethods 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) voidBloomFilteringPostingsFormat.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 classMethods 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 classMethods 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 classprivate static classMethods 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 classWrapper class for another Terms implementation that is used by ExitableFields.static classBase class for filteringTermsimplementations.private static class(package private) static classprivate static classfinal classExposes flex API, merged from flex API of sub-segments.Fields in org.apache.lucene.index declared as TermsModifier and TypeFieldDescriptionprivate static final TermsTerms.EMPTYAn emptyTermswhich returns no termsstatic final Terms[]Terms.EMPTY_ARRAYZero-length array ofTerms.protected final TermsFilterLeafReader.FilterTerms.inThe underlying Terms instance.private final Terms[]MultiTerms.subsFields in org.apache.lucene.index with type parameters of type TermsMethods in org.apache.lucene.index that return TermsModifier and TypeMethodDescriptionfinal TermsRetrieve 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 TermsMultiTerms.getTerms(IndexReader r, String field) This method may return null if the field does not exist or if it has no terms.static TermsTerms.getTerms(LeafReader reader, String field) final TermsIndexReader.getTermVector(int docID, String field) Deprecated.final Termsfinal Termsabstract TermsGet theTermsfor this field.abstract TermsReturns theTermsindex for this field, or null if it has none.Methods in org.apache.lucene.index with parameters of type TermsModifier and TypeMethodDescription(package private) voidprivate static voidCheckIndex.checkTermsIntersect(Terms terms, Automaton automaton, BytesRef startTerm) Constructors in org.apache.lucene.index with parameters of type TermsModifierConstructorDescriptionExitableTerms(Terms terms, QueryTimeout queryTimeout) Constructor *protectedFilterTerms(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 voidMoreLikeThis.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 classBlockTree'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 voidPhraseWildcardQuery.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 longAbstractMultiTermQueryConstantScoreWrapper.RewritingWeight.estimateCost(Terms terms, long queryTermsCount) protected TermsEnumAutomatonQuery.getTermsEnum(Terms terms, AttributeSource atts) protected TermsEnumFuzzyQuery.getTermsEnum(Terms terms, AttributeSource atts) final TermsEnumMultiTermQuery.getTermsEnum(Terms terms) Constructs an enumeration that expands the pattern term.protected abstract TermsEnumMultiTermQuery.getTermsEnum(Terms terms, AttributeSource atts) Construct the enumeration to be used, expanding the pattern term.protected TermsEnumMultiTermQuery.RewriteMethod.getTermsEnum(MultiTermQuery query, Terms terms, AttributeSource atts) Returns theMultiTermQuerysTermsEnumprotected TermsEnumTermInSetQuery.getTermsEnum(Terms terms, AttributeSource atts) AbstractMultiTermQueryConstantScoreWrapper.RewritingWeight.rewrite(LeafReaderContext context, Terms terms) protected abstract AbstractMultiTermQueryConstantScoreWrapper.WeightOrDocIdSetIteratorAbstractMultiTermQueryConstantScoreWrapper.RewritingWeight.rewriteInner(LeafReaderContext context, int fieldDocCount, Terms terms, TermsEnum termsEnum, List<AbstractMultiTermQueryConstantScoreWrapper.TermAndState> collectedTerms) Rewrite the query as either aWeightor aDocIdSetIteratorwrapped 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 specifiedreaderwhich share a prefix of lengthprefixLengthwithtermand which have at mostmaxEditsedits.(package private)FuzzyTermsEnum(Terms terms, AttributeSource atts, Term term, int maxEdits, int prefixLength, boolean transpositions) Constructor for enumeration of all terms from specifiedreaderwhich share a prefix of lengthprefixLengthwithtermand which have at mostmaxEditsedits.privateFuzzyTermsEnum(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 TokenStreamTokenSources.getTokenStream(Terms tpv) Deprecated.static TokenStreamTokenSources.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 TermsEnumTermsQuery.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 classWrappedTermsused bySuggestFieldandContextSuggestFieldto 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 classFields in org.apache.lucene.search.uhighlight declared as TermsModifier and TypeFieldDescriptionprivate final TermsTermVectorFilteredLeafReader.filterTermsprivate final TermsTermVectorFilteredLeafReader.TermsFilteredTerms.filterTermsMethods in org.apache.lucene.search.uhighlight that return TermsModifier and TypeMethodDescriptionMethods in org.apache.lucene.search.uhighlight with parameters of type TermsModifier and TypeMethodDescriptionprotected voidFieldOffsetStrategy.createOffsetsEnumsForAutomata(Terms termsIndex, int doc, List<OffsetsEnum> results) protected voidFieldOffsetStrategy.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 aDocIdSetBuilderinstance 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