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.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.search.highlight |
Highlighting search terms.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
FieldsProducer
Abstract API that produces terms, doc, freq, prox, offset and
payloads postings.
|
Modifier and Type | Method and Description |
---|---|
abstract Fields |
TermVectorsReader.get(int doc)
Returns term vectors for this document, or null if
term vectors were not indexed.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TermVectorsWriter.addAllDocVectors(Fields vectors,
MergeState mergeState)
Safe (but, slowish) default method to write every
vector field in the document.
|
abstract void |
FieldsConsumer.write(Fields fields,
NormsProducer norms)
Write all fields, terms and postings.
|
Modifier and Type | Class and Description |
---|---|
class |
BlockTermsReader
Handles a terms dict, but decouples all details of
doc/freqs/positions reading to an instance of
PostingsReaderBase . |
Modifier and Type | Method and Description |
---|---|
void |
BlockTermsWriter.write(Fields fields,
NormsProducer norms) |
Modifier and Type | Class and Description |
---|---|
class |
BlockTreeTermsReader
A block-based terms index and dictionary that assigns
terms to variable length blocks according to how they
share prefixes.
|
Modifier and Type | Method and Description |
---|---|
void |
BlockTreeTermsWriter.write(Fields fields,
NormsProducer norms) |
Modifier and Type | Class and Description |
---|---|
class |
OrdsBlockTreeTermsReader
|
Modifier and Type | Method and Description |
---|---|
void |
OrdsBlockTreeTermsWriter.write(Fields fields,
NormsProducer norms) |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer |
Modifier and Type | Method and Description |
---|---|
void |
BloomFilteringPostingsFormat.BloomFilteredFieldsConsumer.write(Fields fields,
NormsProducer norms) |
Modifier and Type | Class and Description |
---|---|
private class |
CompressingTermVectorsReader.TVFields |
Modifier and Type | Method and Description |
---|---|
Fields |
CompressingTermVectorsReader.get(int doc) |
Modifier and Type | Class and Description |
---|---|
class |
VersionBlockTreeTermsReader
|
Modifier and Type | Method and Description |
---|---|
void |
VersionBlockTreeTermsWriter.write(Fields fields,
NormsProducer norms) |
Modifier and Type | Class and Description |
---|---|
private static class |
DirectPostingsFormat.DirectFields |
class |
FSTOrdTermsReader
FST-based terms dictionary reader.
|
class |
FSTTermsReader
FST-based terms dictionary reader.
|
Modifier and Type | Method and Description |
---|---|
void |
FSTTermsWriter.write(Fields fields,
NormsProducer norms) |
void |
FSTOrdTermsWriter.write(Fields fields,
NormsProducer norms) |
Constructor and Description |
---|
DirectFields(SegmentReadState state,
Fields fields,
int minSkipCount,
int lowFreqCutoff) |
Modifier and Type | Class and Description |
---|---|
private static class |
PerFieldMergeState.FilterFieldsProducer |
private static class |
PerFieldPostingsFormat.FieldsReader |
Modifier and Type | Method and Description |
---|---|
void |
PerFieldPostingsFormat.FieldsWriter.write(Fields fields,
NormsProducer norms) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
SimpleTextFieldsReader |
private static class |
SimpleTextTermVectorsReader.SimpleTVFields |
Modifier and Type | Method and Description |
---|---|
Fields |
SimpleTextTermVectorsReader.get(int doc) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleTextFieldsWriter.write(FieldInfos fieldInfos,
Fields fields) |
void |
SimpleTextFieldsWriter.write(Fields fields,
NormsProducer norms) |
Modifier and Type | Class and Description |
---|---|
class |
UniformSplitTermsReader
A block-based terms index and dictionary based on the Uniform Split technique.
|
Modifier and Type | Method and Description |
---|---|
void |
UniformSplitTermsWriter.write(Fields fields,
NormsProducer normsProducer) |
Modifier and Type | Class and Description |
---|---|
class |
STUniformSplitTermsReader
A block-based terms index and dictionary based on the Uniform Split technique,
and sharing all the fields terms in the same dictionary, with all the fields
of a term in the same block line.
|
Modifier and Type | Method and Description |
---|---|
private STUniformSplitTermsWriter.TermIteratorQueue<STUniformSplitTermsWriter.FieldTerms> |
STUniformSplitTermsWriter.createFieldTermsQueue(Fields fields,
java.util.List<FieldMetadata> fieldMetadataList) |
void |
STUniformSplitTermsWriter.write(Fields fields,
NormsProducer normsProducer) |
private java.util.Collection<FieldMetadata> |
STUniformSplitTermsWriter.writeSingleSegment(Fields fields,
NormsProducer normsProducer,
STBlockWriter blockWriter,
IndexDictionary.Builder dictionaryBuilder) |
Constructor and Description |
---|
FieldsIterator(Fields fields,
FieldInfos fieldInfos) |
Modifier and Type | Class and Description |
---|---|
static class |
FilterLeafReader.FilterFields
Base class for filtering
Fields
implementations. |
(package private) class |
FreqProxFields
Implements limited (iterators only, no stats)
Fields interface over the in-RAM buffered
fields/terms/postings, to flush postings through the
PostingsFormat. |
class |
MappedMultiFields
A
Fields implementation that merges multiple
Fields into one, and maps around deleted documents. |
class |
MultiFields
Provides a single
Fields term index view over an
IndexReader . |
private static class |
ParallelLeafReader.ParallelFields |
(package private) static class |
SortingLeafReader.SortingFields |
Modifier and Type | Field and Description |
---|---|
static Fields[] |
Fields.EMPTY_ARRAY
Zero-length
Fields array. |
protected Fields |
FilterLeafReader.FilterFields.in
The underlying Fields instance.
|
private Fields[] |
MultiFields.subs |
Modifier and Type | Method and Description |
---|---|
abstract Fields |
IndexReader.getTermVectors(int docID)
Retrieve term vectors for this document, or null if
term vectors were not indexed.
|
Fields |
FilterLeafReader.getTermVectors(int docID) |
Fields |
MergeReaderWrapper.getTermVectors(int docID) |
Fields |
ParallelLeafReader.getTermVectors(int docID) |
Fields |
BaseCompositeReader.getTermVectors(int docID) |
Fields |
CodecReader.getTermVectors(int docID) |
Fields |
SortingLeafReader.getTermVectors(int docID) |
Modifier and Type | Method and Description |
---|---|
private void |
FreqProxTermsWriter.applyDeletes(SegmentWriteState state,
Fields fields) |
private static CheckIndex.Status.TermIndexStatus |
CheckIndex.checkFields(Fields fields,
Bits liveDocs,
int maxDoc,
FieldInfos fieldInfos,
NormsProducer normsProducer,
boolean doPrint,
boolean isVectors,
java.io.PrintStream infoStream,
boolean verbose,
boolean doSlowChecks)
checks Fields api is consistent with itself.
|
private static void |
SortingTermVectorsConsumer.writeTermVectors(TermVectorsWriter writer,
Fields vectors,
FieldInfos fieldInfos)
Safe (but, slowish) default method to copy every vector field in the provided
TermVectorsWriter . |
Constructor and Description |
---|
FilterFields(Fields in)
Creates a new FilterFields.
|
MultiFields(Fields[] subs,
ReaderSlice[] subSlices)
Sole constructor.
|
SortingFields(Fields in,
FieldInfos infos,
Sorter.DocMap docMap) |
TermDocsIterator(Fields fields,
boolean sortedTerms) |
Modifier and Type | Class and Description |
---|---|
private class |
MemoryIndex.MemoryIndexReader.MemoryFields |
Modifier and Type | Method and Description |
---|---|
Fields |
MemoryIndex.MemoryIndexReader.getTermVectors(int docID) |
Modifier and Type | Field and Description |
---|---|
private Fields |
TermVectorLeafReader.fields |
Modifier and Type | Method and Description |
---|---|
Fields |
TermVectorLeafReader.getTermVectors(int docID) |
Modifier and Type | Method and Description |
---|---|
static TokenStream |
TokenSources.getTermVectorTokenStreamOrNull(java.lang.String field,
Fields tvFields,
int maxStartOffset)
Get a token stream by un-inverting the term vector.
|
static TokenStream |
TokenSources.getTokenStream(java.lang.String field,
Fields tvFields,
java.lang.String text,
Analyzer analyzer,
int maxStartOffset)
Get a token stream from either un-inverting a term vector if possible, or by analyzing the text.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
CompletionFieldsProducer
Completion index (.cmp) is opened and read at instantiation to read in
SuggestField
numbers and their FST offsets in the Completion dictionary (.lkp). |
Modifier and Type | Method and Description |
---|---|
void |
CompletionFieldsConsumer.write(Fields fields,
NormsProducer norms) |
Modifier and Type | Field and Description |
---|---|
private Fields |
UnifiedHighlighter.TermVectorReusingLeafReader.tvFields |
Modifier and Type | Method and Description |
---|---|
Fields |
UnifiedHighlighter.TermVectorReusingLeafReader.getTermVectors(int docID) |