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 Terms
BooleanPerceptronClassifier. 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 denseDouble
vector 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 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.blockterms Modifier and Type Class Description private class
BlockTermsReader.FieldReader
Methods in org.apache.lucene.codecs.blockterms that return Terms Modifier and Type Method Description Terms
BlockTermsReader. 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 class
FieldReader
BlockTree's implementation ofTerms
.Methods in org.apache.lucene.codecs.blocktree that return Terms Modifier and Type Method Description Terms
BlockTreeTermsReader. 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) class
OrdsFieldReader
BlockTree's implementation ofTerms
.Methods in org.apache.lucene.codecs.blocktreeords that return Terms Modifier and Type Method Description Terms
OrdsBlockTreeTermsReader. 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 class
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTerms
Fields in org.apache.lucene.codecs.bloom declared as Terms Modifier and Type Field Description private Terms
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTerms. delegateTerms
private Terms
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTermsEnum. delegateTerms
Methods in org.apache.lucene.codecs.bloom that return Terms Modifier and Type Method Description Terms
BloomFilteringPostingsFormat.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) void
BloomFilteringPostingsFormat.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 class
CompressingTermVectorsReader.TVTerms
Methods in org.apache.lucene.codecs.compressing that return Terms Modifier and Type Method Description Terms
CompressingTermVectorsReader.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) class
VersionFieldReader
BlockTree's implementation ofTerms
.Methods in org.apache.lucene.codecs.idversion that return Terms Modifier and Type Method Description Terms
VersionBlockTreeTermsReader. 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 class
DirectPostingsFormat.DirectField
(package private) class
FSTOrdTermsReader.TermsReader
(package private) class
FSTTermsReader.TermsReader
Methods in org.apache.lucene.codecs.memory that return Terms Modifier and Type Method Description Terms
DirectPostingsFormat.DirectFields. terms(java.lang.String field)
Terms
FSTOrdTermsReader. terms(java.lang.String field)
Terms
FSTTermsReader. 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 Terms
PerFieldMergeState.FilterFieldsProducer. terms(java.lang.String field)
Terms
PerFieldPostingsFormat.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 class
SimpleTextFieldsReader.SimpleTextTerms
private static class
SimpleTextTermVectorsReader.SimpleTVTerms
Methods in org.apache.lucene.codecs.simpletext that return Terms Modifier and Type Method Description Terms
SimpleTextFieldsReader. terms(java.lang.String field)
Terms
SimpleTextTermVectorsReader.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 class
UniformSplitTerms
Terms
based on the Uniform Split technique.Methods in org.apache.lucene.codecs.uniformsplit that return Terms Modifier and Type Method Description Terms
UniformSplitTermsReader. 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 class
STUniformSplitTerms
ExtendsUniformSplitTerms
for 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 class
ExitableDirectoryReader.ExitableTerms
Wrapper class for another Terms implementation that is used by ExitableFields.static class
FilterLeafReader.FilterTerms
Base class for filteringTerms
implementations.private static class
FreqProxFields.FreqProxTerms
private static class
MappedMultiFields.MappedMultiTerms
class
MultiTerms
Exposes flex API, merged from flex API of sub-segments.private static class
SortingLeafReader.SortingTerms
Fields in org.apache.lucene.index declared as Terms Modifier and Type Field Description static Terms[]
Terms. EMPTY_ARRAY
Zero-length array ofTerms
.protected Terms
FilterLeafReader.FilterTerms. in
The underlying Terms instance.private Terms[]
MultiTerms. subs
Fields 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. fields
private java.util.Map<java.lang.String,Terms>
MultiFields. terms
Methods in org.apache.lucene.index that return Terms Modifier and Type Method Description Terms[]
MultiTerms. getSubTerms()
Expert: returns the Terms being merged.static Terms
MultiTerms. getTerms(IndexReader r, java.lang.String field)
This method may return null if the field does not exist or if it has no terms.Terms
IndexReader. getTermVector(int docID, java.lang.String field)
Retrieve term vector for this document and field, or null if term vectors were not indexed.Terms
CodecReader. terms(java.lang.String field)
Terms
ExitableDirectoryReader.ExitableFilterAtomicReader. terms(java.lang.String field)
abstract Terms
Fields. terms(java.lang.String field)
Get theTerms
for this field.Terms
FilterLeafReader.FilterFields. terms(java.lang.String field)
Terms
FilterLeafReader. terms(java.lang.String field)
Terms
FreqProxFields. terms(java.lang.String field)
Terms
FrozenBufferedUpdates.TermDocsIterator.TermsProvider. terms(java.lang.String field)
abstract Terms
LeafReader. terms(java.lang.String field)
Returns theTerms
index for this field, or null if it has none.Terms
MappedMultiFields. terms(java.lang.String field)
Terms
MergeReaderWrapper. terms(java.lang.String field)
Terms
MultiFields. terms(java.lang.String field)
Terms
ParallelLeafReader.ParallelFields. terms(java.lang.String field)
Terms
ParallelLeafReader. terms(java.lang.String field)
Terms
SortingLeafReader.SortingFields. terms(java.lang.String field)
Terms
SortingLeafReader. terms(java.lang.String field)
Methods in org.apache.lucene.index with parameters of type Terms Modifier and Type Method Description (package private) void
ParallelLeafReader.ParallelFields. addField(java.lang.String fieldName, Terms terms)
private static boolean
CheckIndex. 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 Terms
MemoryIndex.MemoryIndexReader.MemoryFields. terms(java.lang.String field)
Terms
MemoryIndex.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 void
MoreLikeThis. 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 (package private) Terms
FuzzyTermsEnum. terms
Methods in org.apache.lucene.search with parameters of type Terms Modifier and Type Method Description protected void
PhraseWildcardQuery. checkTermsHavePositions(Terms terms)
protected TermsEnum
AutomatonQuery. getTermsEnum(Terms terms, AttributeSource atts)
protected TermsEnum
FuzzyQuery. getTermsEnum(Terms terms, AttributeSource atts)
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
Constructors in org.apache.lucene.search with parameters of type Terms Constructor Description 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. -
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 Terms
TokenStreamFromTermVector. vector
Methods in org.apache.lucene.search.highlight that return Terms Modifier and Type Method Description Terms
TokenStreamFromTermVector. getTermVectorTerms()
Terms
TermVectorLeafReader. terms(java.lang.String field)
Terms
WeightedSpanTermExtractor.DelegatingLeafReader. terms(java.lang.String field)
Methods in org.apache.lucene.search.highlight with parameters of type Terms Modifier and Type Method Description static 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 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 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.document Modifier and Type Class Description class
CompletionTerms
WrappedTerms
used bySuggestField
andContextSuggestField
to access corresponding suggester and their attributesMethods in org.apache.lucene.search.suggest.document that return Terms Modifier and Type Method Description Terms
CompletionFieldsProducer. 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 class
TermVectorFilteredLeafReader.TermsFilteredTerms
Fields in org.apache.lucene.search.uhighlight declared as Terms Modifier and Type Field Description private Terms
TermVectorFilteredLeafReader. filterTerms
private Terms
TermVectorFilteredLeafReader.TermsFilteredTerms. filterTerms
Methods in org.apache.lucene.search.uhighlight that return Terms Modifier and Type Method Description Terms
OverlaySingleDocTermsLeafReader. terms(java.lang.String field)
Terms
PhraseHelper.SingleFieldWithOffsetsFilterLeafReader. terms(java.lang.String field)
Terms
TermVectorFilteredLeafReader. terms(java.lang.String field)
Methods in org.apache.lucene.search.uhighlight with parameters of type Terms Modifier and Type Method Description protected void
FieldOffsetStrategy. createOffsetsEnumsForAutomata(Terms termsIndex, int doc, java.util.List<OffsetsEnum> results)
protected void
FieldOffsetStrategy. 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 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 Modifier and Type Method Description TermsEnum
CompiledAutomaton. getTermsEnum(Terms terms)
-