Package | Description |
---|---|
org.apache.lucene.codecs.blocktree |
BlockTree terms dictionary.
|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.util |
Some utility classes.
|
org.apache.lucene.util.automaton |
Finite-state automaton for regular expressions.
|
Modifier and Type | Class and Description |
---|---|
class |
FieldReader
BlockTree's implementation of
Terms . |
Modifier and Type | Method and Description |
---|---|
Terms |
BlockTreeTermsReader.terms(String field) |
Modifier and Type | Class and Description |
---|---|
static class |
ExitableDirectoryReader.ExitableTerms
Wrapper class for another Terms implementation that is used by ExitableFields.
|
static class |
FilterLeafReader.FilterTerms
Base class for filtering
Terms implementations. |
class |
MultiTerms
Exposes flex API, merged from flex API of
sub-segments.
|
Modifier and Type | Field and Description |
---|---|
static Terms[] |
Terms.EMPTY_ARRAY
Zero-length array of
Terms . |
protected Terms |
FilterLeafReader.FilterTerms.in
The underlying Terms instance.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Terms |
IndexReader.getTermVector(int docID,
String field)
Retrieve term vector for this document and field, or
null if term vectors were not indexed.
|
Terms |
MappedMultiFields.terms(String field) |
Terms |
ParallelLeafReader.terms(String field) |
Terms |
MultiFields.terms(String field) |
abstract Terms |
Fields.terms(String field)
Get the
Terms for this field. |
Terms |
CodecReader.terms(String field) |
Terms |
ExitableDirectoryReader.ExitableFilterAtomicReader.terms(String field) |
abstract Terms |
LeafReader.terms(String field)
Returns the
Terms index for this field, or null if it has none. |
Terms |
FilterLeafReader.terms(String field) |
Terms |
FilterLeafReader.FilterFields.terms(String field) |
Constructor and Description |
---|
ExitableTerms(Terms terms,
QueryTimeout queryTimeout)
Constructor
|
FilterTerms(Terms in)
Creates a new FilterTerms
|
MultiTerms(Terms[] subs,
ReaderSlice[] subSlices)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
protected TermsEnum |
MultiTermQuery.RewriteMethod.getTermsEnum(MultiTermQuery query,
Terms terms,
AttributeSource atts)
Returns the
MultiTermQuery s TermsEnum |
protected TermsEnum |
MultiTermQuery.getTermsEnum(Terms terms)
Convenience method, if no attributes are needed:
This simply passes empty attributes and is equal to:
getTermsEnum(terms, new AttributeSource()) |
protected TermsEnum |
AutomatonQuery.getTermsEnum(Terms terms,
AttributeSource atts) |
protected abstract TermsEnum |
MultiTermQuery.getTermsEnum(Terms terms,
AttributeSource atts)
Construct the enumeration to be used, expanding the
pattern term.
|
protected TermsEnum |
FuzzyQuery.getTermsEnum(Terms terms,
AttributeSource atts) |
Constructor and Description |
---|
FuzzyTermsEnum(Terms terms,
AttributeSource atts,
Term term,
int maxEdits,
int prefixLength,
boolean transpositions)
Constructor for enumeration of all terms from specified
reader which share a prefix of
length prefixLength with term and which have at most maxEdits edits. |
Constructor and Description |
---|
DocIdSetBuilder(int maxDoc,
Terms terms)
Create a
DocIdSetBuilder instance that is optimized for
accumulating docs that match the given Terms . |
Modifier and Type | Method and Description |
---|---|
TermsEnum |
CompiledAutomaton.getTermsEnum(Terms terms)
|
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.