Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.codecs.blockterms |
Pluggable term index / block terms dictionary implementations.
|
org.apache.lucene.codecs.bloom |
Codec PostingsFormat for fast access to low-frequency terms such as primary key fields.
|
org.apache.lucene.codecs.memory |
Term dictionary, DocValues or Postings formats that are read entirely into memory.
|
org.apache.lucene.index |
Misc index tools and index support.
|
org.apache.lucene.sandbox.queries |
Additional queries (some may have caveats or limitations)
|
org.apache.lucene.sandbox.queries.regex |
Regular expression Query.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.highlight |
The highlight package contains classes to provide "keyword in context" features
typically used to highlight search terms in the text of results pages.
|
org.apache.lucene.util.automaton |
Finite-state automaton for regular expressions.
|
Modifier and Type | Class and Description |
---|---|
class |
BlockTreeTermsReader.FieldReader
BlockTree's implementation of
Terms . |
Modifier and Type | Method and Description |
---|---|
Terms |
BlockTreeTermsReader.terms(String field) |
Modifier and Type | Method and Description |
---|---|
Terms |
BlockTermsReader.terms(String field) |
Modifier and Type | Method and Description |
---|---|
Terms |
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer.terms(String field) |
Modifier and Type | Method and Description |
---|---|
Terms |
FSTOrdTermsReader.terms(String field) |
Terms |
FSTTermsReader.terms(String field) |
Modifier and Type | Class and Description |
---|---|
static class |
FilterAtomicReader.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 |
FilterAtomicReader.FilterTerms.in
The underlying Terms instance.
|
Modifier and Type | Method and Description |
---|---|
static Terms |
MultiFields.getTerms(IndexReader r,
String field)
This method may return null if the field does not exist.
|
Terms |
IndexReader.getTermVector(int docID,
String field)
Retrieve term vector for this document and field, or
null if term vectors were not indexed.
|
Terms |
MultiFields.terms(String field) |
Terms |
FilterAtomicReader.FilterFields.terms(String field) |
Terms |
AtomicReader.terms(String field)
This may return null if the field does not exist.
|
abstract Terms |
Fields.terms(String field)
Get the
Terms for this field. |
Constructor and Description |
---|
FilterAtomicReader.FilterTerms(Terms in)
Creates a new FilterTerms
|
MultiTerms(Terms[] subs,
ReaderSlice[] subSlices)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
protected TermsEnum |
SlowCollatedTermRangeQuery.getTermsEnum(Terms terms,
AttributeSource atts)
Deprecated.
|
protected TermsEnum |
SlowFuzzyQuery.getTermsEnum(Terms terms,
AttributeSource atts)
Deprecated.
|
Constructor and Description |
---|
SlowFuzzyTermsEnum(Terms terms,
AttributeSource atts,
Term term,
float minSimilarity,
int prefixLength)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected FilteredTermsEnum |
RegexQuery.getTermsEnum(Terms terms,
AttributeSource atts) |
Modifier and Type | Field and Description |
---|---|
protected Terms |
FuzzyTermsEnum.terms |
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 TermsEnum |
NumericRangeQuery.getTermsEnum(Terms terms,
AttributeSource atts) |
protected TermsEnum |
TermRangeQuery.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 |
PrefixQuery.getTermsEnum(Terms terms,
AttributeSource atts) |
protected TermsEnum |
FuzzyQuery.getTermsEnum(Terms terms,
AttributeSource atts) |
TermsEnum |
FieldCache.Parser.termsEnum(Terms terms)
|
Constructor and Description |
---|
FuzzyTermsEnum(Terms terms,
AttributeSource atts,
Term term,
float minSimilarity,
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 a fuzzy similarity >
minSimilarity . |
Modifier and Type | Method and Description |
---|---|
static TokenStream |
TokenSources.getTokenStream(Terms vector) |
static TokenStream |
TokenSources.getTokenStream(Terms tpv,
boolean tokenPositionsGuaranteedContiguous)
Low level api.
|
Constructor and Description |
---|
TokenStreamFromTermPositionVector(Terms vector)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TermsEnum |
CompiledAutomaton.getTermsEnum(Terms terms) |
Copyright © 2000-2016 The Apache Software Foundation. All Rights Reserved.