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 suggestion
|
org.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.
|
Modifier and Type | Field and Description |
---|---|
private Terms |
BooleanPerceptronClassifier.textTerms |
Modifier and Type | Method and Description |
---|---|
static java.lang.Double[] |
DocToDoubleVectorUtils.toDenseLocalFreqDoubleArray(Terms docTerms)
create a dense
Double vector given doc and field term vectors using local frequency of the terms in the doc |
static java.lang.Double[] |
DocToDoubleVectorUtils.toSparseLocalFreqDoubleArray(Terms docTerms,
Terms fieldTerms)
create a sparse
Double vector given doc and field term vectors using local frequency of the terms in the doc |
Modifier and Type | Class and Description |
---|---|
private class |
BlockTermsReader.FieldReader |
Modifier and Type | Method and Description |
---|---|
Terms |
BlockTermsReader.terms(java.lang.String field) |
Modifier and Type | Class and Description |
---|---|
class |
FieldReader
BlockTree's implementation of
Terms . |
Modifier and Type | Method and Description |
---|---|
Terms |
BlockTreeTermsReader.terms(java.lang.String field) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
OrdsFieldReader
BlockTree's implementation of
Terms . |
Modifier and Type | Method and Description |
---|---|
Terms |
OrdsBlockTreeTermsReader.terms(java.lang.String field) |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTerms |
Modifier and Type | Field and Description |
---|---|
private Terms |
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTerms.delegateTerms |
private Terms |
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTermsEnum.delegateTerms |
Modifier and Type | Method and Description |
---|---|
Terms |
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer.terms(java.lang.String field) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTermsEnum.reset(Terms delegateTerms) |
Constructor and Description |
---|
BloomFilteredTerms(Terms terms,
FuzzySet filter) |
BloomFilteredTermsEnum(Terms delegateTerms,
FuzzySet filter) |
Modifier and Type | Class and Description |
---|---|
private static class |
CompressingTermVectorsReader.TVTerms |
Modifier and Type | Method and Description |
---|---|
Terms |
CompressingTermVectorsReader.TVFields.terms(java.lang.String field) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
VersionFieldReader
BlockTree's implementation of
Terms . |
Modifier and Type | Method and Description |
---|---|
Terms |
VersionBlockTreeTermsReader.terms(java.lang.String field) |
Modifier and Type | Class and Description |
---|---|
private static class |
DirectPostingsFormat.DirectField |
(package private) class |
FSTOrdTermsReader.TermsReader |
(package private) class |
FSTTermsReader.TermsReader |
Modifier and Type | Method and Description |
---|---|
Terms |
DirectPostingsFormat.DirectFields.terms(java.lang.String field) |
Terms |
FSTOrdTermsReader.terms(java.lang.String field) |
Terms |
FSTTermsReader.terms(java.lang.String field) |
Constructor and Description |
---|
DirectField(SegmentReadState state,
java.lang.String field,
Terms termsIn,
int minSkipCount,
int lowFreqCutoff) |
Modifier and Type | Method and Description |
---|---|
Terms |
PerFieldPostingsFormat.FieldsReader.terms(java.lang.String field) |
Terms |
PerFieldMergeState.FilterFieldsProducer.terms(java.lang.String field) |
Modifier and Type | Class and Description |
---|---|
private class |
SimpleTextFieldsReader.SimpleTextTerms |
private static class |
SimpleTextTermVectorsReader.SimpleTVTerms |
Modifier and Type | Method and Description |
---|---|
Terms |
SimpleTextTermVectorsReader.SimpleTVFields.terms(java.lang.String field) |
Terms |
SimpleTextFieldsReader.terms(java.lang.String field) |
Modifier and Type | Class and Description |
---|---|
class |
UniformSplitTerms
Terms based on the Uniform Split technique. |
Modifier and Type | Method and Description |
---|---|
Terms |
UniformSplitTermsReader.terms(java.lang.String field) |
Modifier and Type | Class and Description |
---|---|
class |
STUniformSplitTerms
Extends
UniformSplitTerms for a shared-terms dictionary, with
all the fields of a term in the same block line. |
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. |
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 |
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.
|
private Terms[] |
MultiTerms.subs |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Map<java.lang.String,Terms> |
ParallelLeafReader.ParallelFields.fields |
private java.util.Map<java.lang.String,Terms> |
MultiFields.terms |
Modifier and Type | Method and 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 |
FrozenBufferedUpdates.TermDocsIterator.TermsProvider.terms(java.lang.String field) |
Terms |
MergeReaderWrapper.terms(java.lang.String field) |
Terms |
ExitableDirectoryReader.ExitableFilterAtomicReader.terms(java.lang.String field) |
Terms |
MappedMultiFields.terms(java.lang.String field) |
Terms |
FilterLeafReader.terms(java.lang.String field) |
Terms |
FilterLeafReader.FilterFields.terms(java.lang.String field) |
Terms |
SortingLeafReader.terms(java.lang.String field) |
Terms |
SortingLeafReader.SortingFields.terms(java.lang.String field) |
abstract Terms |
LeafReader.terms(java.lang.String field)
Returns the
Terms index for this field, or null if it has none. |
Terms |
MultiFields.terms(java.lang.String field) |
abstract Terms |
Fields.terms(java.lang.String field)
Get the
Terms for this field. |
Terms |
ParallelLeafReader.terms(java.lang.String field) |
Terms |
ParallelLeafReader.ParallelFields.terms(java.lang.String field) |
Terms |
FreqProxFields.terms(java.lang.String field) |
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
ExitableTerms(Terms terms,
QueryTimeout queryTimeout)
Constructor
|
FilterTerms(Terms in)
Creates a new FilterTerms
|
MultiTerms(Terms[] subs,
ReaderSlice[] subSlices)
Sole constructor.
|
SortingTerms(Terms in,
IndexOptions indexOptions,
Sorter.DocMap docMap) |
Modifier and Type | Method and Description |
---|---|
Terms |
MemoryIndex.MemoryIndexReader.terms(java.lang.String field) |
Terms |
MemoryIndex.MemoryIndexReader.MemoryFields.terms(java.lang.String field) |
Modifier and Type | Method and 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
|
Modifier and Type | Field and Description |
---|---|
(package private) Terms |
FuzzyTermsEnum.terms |
Modifier and Type | Method and Description |
---|---|
protected void |
PhraseWildcardQuery.checkTermsHavePositions(Terms terms) |
protected TermsEnum |
MultiTermQuery.RewriteMethod.getTermsEnum(MultiTermQuery query,
Terms terms,
AttributeSource atts)
Returns the
MultiTermQuery s TermsEnum |
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 |
FuzzyQuery.getTermsEnum(Terms terms,
AttributeSource atts) |
protected TermsEnum |
AutomatonQuery.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. |
Modifier and Type | Field and Description |
---|---|
private Terms |
TokenStreamFromTermVector.vector |
Modifier and Type | Method and Description |
---|---|
Terms |
TokenStreamFromTermVector.getTermVectorTerms() |
Terms |
TermVectorLeafReader.terms(java.lang.String field) |
Terms |
WeightedSpanTermExtractor.DelegatingLeafReader.terms(java.lang.String field) |
Modifier and Type | Method and Description |
---|---|
static TokenStream |
TokenSources.getTokenStream(Terms tpv)
Deprecated.
|
static TokenStream |
TokenSources.getTokenStream(Terms vector,
boolean tokenPositionsGuaranteedContiguous)
Deprecated.
|
Constructor and Description |
---|
TermVectorLeafReader(java.lang.String field,
Terms terms) |
TokenStreamFromTermVector(Terms vector,
int maxStartOffset)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected TermsEnum |
TermsQuery.getTermsEnum(Terms terms,
AttributeSource atts) |
Modifier and Type | Class and Description |
---|---|
class |
CompletionTerms
Wrapped
Terms
used by SuggestField and ContextSuggestField
to access corresponding suggester and their attributes |
Modifier and Type | Method and Description |
---|---|
Terms |
CompletionFieldsProducer.terms(java.lang.String field) |
Constructor and Description |
---|
CompletionTerms(Terms in,
CompletionsTermsReader reader)
Creates a completionTerms based on
CompletionsTermsReader |
Modifier and Type | Class and Description |
---|---|
private static class |
TermVectorFilteredLeafReader.TermsFilteredTerms |
Modifier and Type | Field and Description |
---|---|
private Terms |
TermVectorFilteredLeafReader.filterTerms |
private Terms |
TermVectorFilteredLeafReader.TermsFilteredTerms.filterTerms |
Modifier and Type | Method and Description |
---|---|
Terms |
PhraseHelper.SingleFieldWithOffsetsFilterLeafReader.terms(java.lang.String field) |
Terms |
TermVectorFilteredLeafReader.terms(java.lang.String field) |
Terms |
OverlaySingleDocTermsLeafReader.terms(java.lang.String field) |
Modifier and Type | Method and 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) |
Constructor and Description |
---|
TermsFilteredTerms(Terms baseTerms,
Terms filterTerms) |
TermVectorFilteredLeafReader(LeafReader baseLeafReader,
Terms filterTerms,
java.lang.String fieldFilter)
Construct a FilterLeafReader based on the specified base reader.
|
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)
|