Uses of Class
org.apache.lucene.index.Terms
-
-
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(String field) -
Uses of Terms in org.apache.lucene.index
Subclasses of Terms in org.apache.lucene.index Modifier and Type Class Description static classFilterLeafReader.FilterTermsBase class for filteringTermsimplementations.classMultiTermsExposes 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.Methods 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, String field)This method may return null if the field does not exist or if it has no terms.TermsIndexReader. getTermVector(int docID, String field)Retrieve term vector for this document and field, or null if term vectors were not indexed.TermsCodecReader. terms(String field)abstract TermsFields. terms(String field)Get theTermsfor this field.TermsFilterLeafReader.FilterFields. terms(String field)TermsFilterLeafReader. terms(String field)abstract TermsLeafReader. terms(String field)Returns theTermsindex for this field, or null if it has none.TermsMappedMultiFields. terms(String field)TermsMultiFields. terms(String field)Constructors in org.apache.lucene.index with parameters of type Terms Constructor Description FilterTerms(Terms in)Creates a new FilterTermsMultiTerms(Terms[] subs, ReaderSlice[] subSlices)Sole constructor. -
Uses of Terms in org.apache.lucene.search
Methods in org.apache.lucene.search with parameters of type Terms Modifier and Type Method Description 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, 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. -
Uses of Terms in org.apache.lucene.search.highlight
Methods in org.apache.lucene.search.highlight that return Terms Modifier and Type Method Description TermsTokenStreamFromTermVector. getTermVectorTerms()TermsTermVectorLeafReader. terms(String field)Constructors in org.apache.lucene.search.highlight with parameters of type Terms Constructor Description TermVectorLeafReader(String field, Terms terms)TokenStreamFromTermVector(Terms vector, int maxStartOffset)Constructor. -
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 attributes -
Uses of Terms in org.apache.lucene.search.uhighlight
Methods in org.apache.lucene.search.uhighlight that return Terms Modifier and Type Method Description TermsOverlaySingleDocTermsLeafReader. terms(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, List<OffsetsEnum> results)protected voidFieldOffsetStrategy. createOffsetsEnumsForTerms(BytesRef[] sourceTerms, Terms termsIndex, int doc, List<OffsetsEnum> results) -
Uses of Terms in org.apache.lucene.spatial.prefix
Fields in org.apache.lucene.spatial.prefix declared as Terms Modifier and Type Field Description protected TermsAbstractPrefixTreeQuery.BaseTermsEnumTraverser. terms -
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) -
Uses of Terms in org.elasticsearch.action.termvectors
Methods in org.elasticsearch.action.termvectors that return Terms Modifier and Type Method Description TermsTermVectorsFields. terms(String field) -
Uses of Terms in org.elasticsearch.common.lucene.search
Methods in org.elasticsearch.common.lucene.search with parameters of type Terms Modifier and Type Method Description QueryXMoreLikeThis. like(Terms... likeTerms)Return a query that will return docs like the passed Terms. -
Uses of Terms in org.elasticsearch.index.fielddata.plain
Methods in org.elasticsearch.index.fielddata.plain with parameters of type Terms Modifier and Type Method Description TermsEnumAbstractIndexFieldData.PerValueEstimator. beforeLoad(Terms terms)Execute any pre-loading estimations for the terms.TermsEnumPagedBytesIndexFieldData.PagedBytesEstimator. beforeLoad(Terms terms)Determine whether the BlockTreeTermsReader.FieldReader can be used for estimating the field data, adding the estimate to the circuit breaker if it can, otherwise wrapping the terms in a RamAccountingTermsEnum to be estimated on a per-term basis.protected TermsEnumAbstractIndexOrdinalsFieldData. filter(Terms terms, TermsEnum iterator, LeafReader reader) -
Uses of Terms in org.elasticsearch.search.suggest.phrase
Fields in org.elasticsearch.search.suggest.phrase declared as Terms Modifier and Type Field Description protected TermsWordScorer. termsMethods in org.elasticsearch.search.suggest.phrase with parameters of type Terms Modifier and Type Method Description WordScorerWordScorer.WordScorerFactory. newScorer(IndexReader reader, Terms terms, String field, double realWordLikelihood, BytesRef separator)Constructors in org.elasticsearch.search.suggest.phrase with parameters of type Terms Constructor Description DirectCandidateGenerator(DirectSpellChecker spellchecker, String field, SuggestMode suggestMode, IndexReader reader, double nonErrorLikelihood, int numCandidates, Analyzer preFilter, Analyzer postFilter, Terms terms)LinearInterpolatingScorer(IndexReader reader, Terms terms, String field, double realWordLikelihood, BytesRef separator, double trigramLambda, double bigramLambda, double unigramLambda)WordScorer(IndexReader reader, Terms terms, String field, double realWordLikelihood, BytesRef separator)
-