Uses of Class
org.apache.lucene.index.Terms
-
Packages that use Terms Package Description org.apache.lucene.classification Uses already seen data (the indexed documents) to classify an input ( can be simple text or a structured document).org.apache.lucene.classification.utils Utilities for evaluation, data preparation, etc.org.apache.lucene.codecs.blockterms Pluggable term index / block terms dictionary implementations.org.apache.lucene.codecs.blocktree BlockTree terms dictionary.org.apache.lucene.codecs.blocktreeords Same postings format as Lucene50, except the terms dictionary also supports ords, i.e.org.apache.lucene.codecs.bloom Codec PostingsFormat for fast access to low-frequency terms such as primary key fields.org.apache.lucene.codecs.compressing StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.org.apache.lucene.codecs.idversion A primary-key postings format that associates a version (long) with each term and can provide fail-fast lookups by ID and version.org.apache.lucene.codecs.memory Term dictionary, DocValues or Postings formats that are read entirely into memory.org.apache.lucene.codecs.perfield Postings format that can delegate to different formats per-field.org.apache.lucene.codecs.simpletext Simpletext Codec: writes human readable postings.org.apache.lucene.codecs.uniformsplit Pluggable term index / block terms dictionary implementations.org.apache.lucene.codecs.uniformsplit.sharedterms Pluggable term index / block terms dictionary implementations.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.index.memory High-performance single-document main memory Apache Lucene fulltext search index.org.apache.lucene.queries.mlt Document similarity query generators.org.apache.lucene.search Code to search indices.org.apache.lucene.search.highlight Highlighting search terms.org.apache.lucene.search.join Support for index-time and query-time joins.org.apache.lucene.search.suggest.document Support for document suggestionorg.apache.lucene.search.uhighlight The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis.org.apache.lucene.util Some utility classes.org.apache.lucene.util.automaton Finite-state automaton for regular expressions. -
-
Uses of Terms in org.apache.lucene.classification
Fields in org.apache.lucene.classification declared as Terms Modifier and Type Field Description private TermsBooleanPerceptronClassifier. textTerms -
Uses of Terms in org.apache.lucene.classification.utils
Methods in org.apache.lucene.classification.utils with parameters of type Terms Modifier and Type Method Description static java.lang.Double[]DocToDoubleVectorUtils. toDenseLocalFreqDoubleArray(Terms docTerms)create a denseDoublevector given doc and field term vectors using local frequency of the terms in the docstatic java.lang.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.blockterms Modifier and Type Class Description private classBlockTermsReader.FieldReaderMethods in org.apache.lucene.codecs.blockterms that return Terms Modifier and Type Method Description TermsBlockTermsReader. terms(java.lang.String field) -
Uses of Terms in org.apache.lucene.codecs.blocktree
Subclasses of Terms in org.apache.lucene.codecs.blocktree Modifier and Type Class Description classFieldReaderBlockTree's implementation ofTerms.Methods in org.apache.lucene.codecs.blocktree that return Terms Modifier and Type Method Description TermsBlockTreeTermsReader. terms(java.lang.String field) -
Uses of Terms in org.apache.lucene.codecs.blocktreeords
Subclasses of Terms in org.apache.lucene.codecs.blocktreeords Modifier and Type Class Description (package private) classOrdsFieldReaderBlockTree's implementation ofTerms.Methods in org.apache.lucene.codecs.blocktreeords that return Terms Modifier and Type Method Description TermsOrdsBlockTreeTermsReader. terms(java.lang.String field) -
Uses of Terms in org.apache.lucene.codecs.bloom
Subclasses of Terms in org.apache.lucene.codecs.bloom Modifier and Type Class Description (package private) static classBloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTermsFields in org.apache.lucene.codecs.bloom declared as Terms Modifier and Type Field Description private TermsBloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTerms. delegateTermsprivate TermsBloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTermsEnum. delegateTermsMethods in org.apache.lucene.codecs.bloom that return Terms Modifier and Type Method Description TermsBloomFilteringPostingsFormat.BloomFilteredFieldsProducer. terms(java.lang.String field)Methods in org.apache.lucene.codecs.bloom with parameters of type Terms Modifier and Type Method Description (package private) voidBloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTermsEnum. reset(Terms delegateTerms)Constructors in org.apache.lucene.codecs.bloom with parameters of type Terms Constructor Description BloomFilteredTerms(Terms terms, FuzzySet filter)BloomFilteredTermsEnum(Terms delegateTerms, FuzzySet filter) -
Uses of Terms in org.apache.lucene.codecs.compressing
Subclasses of Terms in org.apache.lucene.codecs.compressing Modifier and Type Class Description private static classCompressingTermVectorsReader.TVTermsMethods in org.apache.lucene.codecs.compressing that return Terms Modifier and Type Method Description TermsCompressingTermVectorsReader.TVFields. terms(java.lang.String field) -
Uses of Terms in org.apache.lucene.codecs.idversion
Subclasses of Terms in org.apache.lucene.codecs.idversion Modifier and Type Class Description (package private) classVersionFieldReaderBlockTree's implementation ofTerms.Methods in org.apache.lucene.codecs.idversion that return Terms Modifier and Type Method Description TermsVersionBlockTreeTermsReader. terms(java.lang.String field) -
Uses of Terms in org.apache.lucene.codecs.memory
Subclasses of Terms in org.apache.lucene.codecs.memory Modifier and Type Class Description private static classDirectPostingsFormat.DirectField(package private) classFSTTermsReader.TermsReaderMethods in org.apache.lucene.codecs.memory that return Terms Modifier and Type Method Description TermsDirectPostingsFormat.DirectFields. terms(java.lang.String field)TermsFSTTermsReader. terms(java.lang.String field)Constructors in org.apache.lucene.codecs.memory with parameters of type Terms Constructor Description DirectField(SegmentReadState state, java.lang.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 Modifier and Type Method Description TermsPerFieldMergeState.FilterFieldsProducer. terms(java.lang.String field)TermsPerFieldPostingsFormat.FieldsReader. terms(java.lang.String field) -
Uses of Terms in org.apache.lucene.codecs.simpletext
Subclasses of Terms in org.apache.lucene.codecs.simpletext Modifier and Type Class Description private classSimpleTextFieldsReader.SimpleTextTermsprivate static classSimpleTextTermVectorsReader.SimpleTVTermsMethods in org.apache.lucene.codecs.simpletext that return Terms Modifier and Type Method Description TermsSimpleTextFieldsReader. terms(java.lang.String field)TermsSimpleTextTermVectorsReader.SimpleTVFields. terms(java.lang.String field) -
Uses of Terms in org.apache.lucene.codecs.uniformsplit
Subclasses of Terms in org.apache.lucene.codecs.uniformsplit Modifier and Type Class Description classUniformSplitTermsTermsbased on the Uniform Split technique.Methods in org.apache.lucene.codecs.uniformsplit that return Terms Modifier and Type Method Description TermsUniformSplitTermsReader. terms(java.lang.String field) -
Uses of Terms in org.apache.lucene.codecs.uniformsplit.sharedterms
Subclasses of Terms in org.apache.lucene.codecs.uniformsplit.sharedterms Modifier and Type Class Description classSTUniformSplitTermsExtendsUniformSplitTermsfor a shared-terms dictionary, with all the fields of a term in the same block line. -
Uses of Terms in org.apache.lucene.index
Subclasses of Terms in org.apache.lucene.index Modifier and Type Class Description static classExitableDirectoryReader.ExitableTermsWrapper class for another Terms implementation that is used by ExitableFields.static classFilterLeafReader.FilterTermsBase class for filteringTermsimplementations.private static classFreqProxFields.FreqProxTerms(package private) static classFreqProxTermsWriter.SortingTermsprivate static classMappedMultiFields.MappedMultiTermsclassMultiTermsExposes flex API, merged from flex API of sub-segments.Fields in org.apache.lucene.index declared as Terms Modifier and Type Field Description static Terms[]Terms. EMPTY_ARRAYZero-length array ofTerms.protected TermsFilterLeafReader.FilterTerms. inThe underlying Terms instance.private Terms[]MultiTerms. subsFields in org.apache.lucene.index with type parameters of type Terms Modifier and Type Field Description (package private) java.util.Map<java.lang.String,Terms>ParallelLeafReader.ParallelFields. fieldsprivate java.util.Map<java.lang.String,Terms>MultiFields. termsMethods in org.apache.lucene.index that return Terms Modifier and Type Method Description Terms[]MultiTerms. getSubTerms()Expert: returns the Terms being merged.static TermsMultiTerms. getTerms(IndexReader r, java.lang.String field)This method may return null if the field does not exist or if it has no terms.TermsIndexReader. getTermVector(int docID, java.lang.String field)Retrieve term vector for this document and field, or null if term vectors were not indexed.TermsCodecReader. terms(java.lang.String field)TermsDocValuesLeafReader. terms(java.lang.String field)TermsExitableDirectoryReader.ExitableFilterAtomicReader. terms(java.lang.String field)abstract TermsFields. terms(java.lang.String field)Get theTermsfor this field.TermsFilterLeafReader.FilterFields. terms(java.lang.String field)TermsFilterLeafReader. terms(java.lang.String field)TermsFreqProxFields. terms(java.lang.String field)TermsFrozenBufferedUpdates.TermDocsIterator.TermsProvider. terms(java.lang.String field)abstract TermsLeafReader. terms(java.lang.String field)Returns theTermsindex for this field, or null if it has none.TermsMappedMultiFields. terms(java.lang.String field)TermsMergeReaderWrapper. terms(java.lang.String field)TermsMultiFields. terms(java.lang.String field)TermsParallelLeafReader.ParallelFields. terms(java.lang.String field)TermsParallelLeafReader. terms(java.lang.String field)Methods in org.apache.lucene.index with parameters of type Terms Modifier and Type Method Description (package private) voidParallelLeafReader.ParallelFields. addField(java.lang.String fieldName, Terms terms)private static booleanCheckIndex. checkSingleTermRange(java.lang.String field, int maxDoc, Terms terms, BytesRef minTerm, BytesRef maxTerm, FixedBitSet normalDocs, FixedBitSet intersectDocs)Test Terms.intersect on this range, and validates that it returns the same doc ids as using non-intersect TermsEnum.Constructors in org.apache.lucene.index with parameters of type Terms Constructor Description ExitableTerms(Terms terms, QueryTimeout queryTimeout)ConstructorFilterTerms(Terms in)Creates a new FilterTermsMultiTerms(Terms[] subs, ReaderSlice[] subSlices)Sole constructor.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 Modifier and Type Method Description TermsMemoryIndex.MemoryIndexReader.MemoryFields. terms(java.lang.String field)TermsMemoryIndex.MemoryIndexReader. terms(java.lang.String field) -
Uses of Terms in org.apache.lucene.queries.mlt
Methods in org.apache.lucene.queries.mlt with parameters of type Terms Modifier and Type Method Description private voidMoreLikeThis. addTermFrequencies(java.util.Map<java.lang.String,java.util.Map<java.lang.String,MoreLikeThis.Int>> field2termFreqMap, Terms vector, java.lang.String fieldName)Adds terms and frequencies found in vector into the Map termFreqMap -
Uses of Terms in org.apache.lucene.search
Fields in org.apache.lucene.search declared as Terms Modifier and Type Field Description private TermsFuzzyTermsEnum. termsMethods in org.apache.lucene.search with parameters of type Terms Modifier and Type Method Description protected voidPhraseWildcardQuery. checkTermsHavePositions(Terms terms)protected TermsEnumAutomatonQuery. getTermsEnum(Terms terms, AttributeSource atts)protected TermsEnumFuzzyQuery. getTermsEnum(Terms terms, AttributeSource atts)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 theMultiTermQuerysTermsEnumConstructors in org.apache.lucene.search with parameters of type Terms Constructor Description FuzzyTermsEnum(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.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.FuzzyTermsEnum(Terms terms, AttributeSource atts, Term term, java.util.function.Supplier<FuzzyAutomatonBuilder> automatonBuilder) -
Uses of Terms in org.apache.lucene.search.highlight
Fields in org.apache.lucene.search.highlight declared as Terms Modifier and Type Field Description private TermsTokenStreamFromTermVector. vectorMethods in org.apache.lucene.search.highlight that return Terms Modifier and Type Method Description TermsTokenStreamFromTermVector. getTermVectorTerms()TermsTermVectorLeafReader. terms(java.lang.String field)TermsWeightedSpanTermExtractor.DelegatingLeafReader. terms(java.lang.String field)Methods in org.apache.lucene.search.highlight with parameters of type Terms Modifier and Type Method Description static TokenStreamTokenSources. getTokenStream(Terms tpv)Deprecated.static TokenStreamTokenSources. getTokenStream(Terms vector, boolean tokenPositionsGuaranteedContiguous)Deprecated.Constructors in org.apache.lucene.search.highlight with parameters of type Terms Constructor Description TermVectorLeafReader(java.lang.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 Terms Modifier and Type Method Description protected 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.document Modifier and Type Class Description classCompletionTermsWrappedTermsused bySuggestFieldandContextSuggestFieldto access corresponding suggester and their attributesMethods in org.apache.lucene.search.suggest.document that return Terms Modifier and Type Method Description TermsCompletionFieldsProducer. terms(java.lang.String field)Constructors in org.apache.lucene.search.suggest.document with parameters of type Terms Constructor Description 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.uhighlight Modifier and Type Class Description private static classTermVectorFilteredLeafReader.TermsFilteredTermsFields in org.apache.lucene.search.uhighlight declared as Terms Modifier and Type Field Description private TermsTermVectorFilteredLeafReader. filterTermsprivate TermsTermVectorFilteredLeafReader.TermsFilteredTerms. filterTermsMethods in org.apache.lucene.search.uhighlight that return Terms Modifier and Type Method Description TermsOverlaySingleDocTermsLeafReader. terms(java.lang.String field)TermsPhraseHelper.SingleFieldWithOffsetsFilterLeafReader. terms(java.lang.String field)TermsTermVectorFilteredLeafReader. terms(java.lang.String field)Methods in org.apache.lucene.search.uhighlight with parameters of type Terms Modifier and Type Method Description protected voidFieldOffsetStrategy. createOffsetsEnumsForAutomata(Terms termsIndex, int doc, java.util.List<OffsetsEnum> results)protected voidFieldOffsetStrategy. createOffsetsEnumsForTerms(BytesRef[] sourceTerms, Terms termsIndex, int doc, java.util.List<OffsetsEnum> results)Constructors in org.apache.lucene.search.uhighlight with parameters of type Terms Constructor Description TermsFilteredTerms(Terms baseTerms, Terms filterTerms)TermVectorFilteredLeafReader(LeafReader baseLeafReader, Terms filterTerms, java.lang.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 Terms Constructor Description DocIdSetBuilder(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 Modifier and Type Method Description TermsEnumCompiledAutomaton. getTermsEnum(Terms terms)
-