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.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.lucene50 |
Components from the Lucene 5.0 index format
See
org.apache.lucene.codecs.lucene80 for an overview
of the index format. |
org.apache.lucene.codecs.lucene60 |
Components from the Lucene 6.0 index format.
|
org.apache.lucene.codecs.lucene70 |
Components from the Lucene 7.0 index format.
|
org.apache.lucene.codecs.lucene80 |
Components from the Lucene 8.0 index format
See
org.apache.lucene.codecs.lucene84 for an overview
of the index format. |
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.uhighlight |
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis.
|
Modifier and Type | Field and Description |
---|---|
(package private) FieldInfos |
StoredFieldsWriter.MergeVisitor.remapper |
Modifier and Type | Method and Description |
---|---|
abstract FieldInfos |
FieldInfosFormat.read(Directory directory,
SegmentInfo segmentInfo,
java.lang.String segmentSuffix,
IOContext iocontext)
|
Modifier and Type | Method and Description |
---|---|
abstract StoredFieldsReader |
StoredFieldsFormat.fieldsReader(Directory directory,
SegmentInfo si,
FieldInfos fn,
IOContext context)
Returns a
StoredFieldsReader to load stored
fields. |
abstract void |
TermVectorsWriter.finish(FieldInfos fis,
int numDocs)
Called before
TermVectorsWriter.close() , passing in the number
of documents that were written. |
abstract void |
StoredFieldsWriter.finish(FieldInfos fis,
int numDocs)
Called before
StoredFieldsWriter.close() , passing in the number
of documents that were written. |
abstract TermVectorsReader |
TermVectorsFormat.vectorsReader(Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
IOContext context)
Returns a
TermVectorsReader to read term
vectors. |
abstract void |
FieldInfosFormat.write(Directory directory,
SegmentInfo segmentInfo,
java.lang.String segmentSuffix,
FieldInfos infos,
IOContext context)
Writes the provided
FieldInfos to the
directory. |
Modifier and Type | Field and Description |
---|---|
private FieldInfos |
VariableGapTermsIndexWriter.fieldInfos |
(package private) FieldInfos |
BlockTermsWriter.fieldInfos |
Modifier and Type | Field and Description |
---|---|
(package private) FieldInfos |
BlockTreeTermsWriter.fieldInfos |
Modifier and Type | Field and Description |
---|---|
(package private) FieldInfos |
OrdsBlockTreeTermsWriter.fieldInfos |
Modifier and Type | Field and Description |
---|---|
private FieldInfos |
CompressingTermVectorsReader.fieldInfos |
private FieldInfos |
CompressingStoredFieldsReader.fieldInfos |
Modifier and Type | Method and Description |
---|---|
StoredFieldsReader |
CompressingStoredFieldsFormat.fieldsReader(Directory directory,
SegmentInfo si,
FieldInfos fn,
IOContext context) |
void |
CompressingTermVectorsWriter.finish(FieldInfos fis,
int numDocs) |
void |
CompressingStoredFieldsWriter.finish(FieldInfos fis,
int numDocs) |
TermVectorsReader |
CompressingTermVectorsFormat.vectorsReader(Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
IOContext context) |
Constructor and Description |
---|
CompressingStoredFieldsReader(Directory d,
SegmentInfo si,
java.lang.String segmentSuffix,
FieldInfos fn,
IOContext context,
java.lang.String formatName,
CompressionMode compressionMode)
Sole constructor.
|
CompressingTermVectorsReader(Directory d,
SegmentInfo si,
java.lang.String segmentSuffix,
FieldInfos fn,
IOContext context,
java.lang.String formatName,
CompressionMode compressionMode)
Sole constructor.
|
Modifier and Type | Field and Description |
---|---|
(package private) FieldInfos |
VersionBlockTreeTermsWriter.fieldInfos |
Modifier and Type | Method and Description |
---|---|
FieldInfos |
Lucene50FieldInfosFormat.read(Directory directory,
SegmentInfo segmentInfo,
java.lang.String segmentSuffix,
IOContext context) |
Modifier and Type | Method and Description |
---|---|
StoredFieldsReader |
Lucene50StoredFieldsFormat.fieldsReader(Directory directory,
SegmentInfo si,
FieldInfos fn,
IOContext context) |
void |
Lucene50FieldInfosFormat.write(Directory directory,
SegmentInfo segmentInfo,
java.lang.String segmentSuffix,
FieldInfos infos,
IOContext context) |
Modifier and Type | Method and Description |
---|---|
FieldInfos |
Lucene60FieldInfosFormat.read(Directory directory,
SegmentInfo segmentInfo,
java.lang.String segmentSuffix,
IOContext context) |
Modifier and Type | Method and Description |
---|---|
void |
Lucene60FieldInfosFormat.write(Directory directory,
SegmentInfo segmentInfo,
java.lang.String segmentSuffix,
FieldInfos infos,
IOContext context) |
Modifier and Type | Method and Description |
---|---|
private void |
Lucene70DocValuesProducer.readFields(ChecksumIndexInput meta,
FieldInfos infos) |
private void |
Lucene70NormsProducer.readFields(IndexInput meta,
FieldInfos infos) |
Modifier and Type | Method and Description |
---|---|
private void |
Lucene80DocValuesProducer.readFields(ChecksumIndexInput meta,
FieldInfos infos) |
private void |
Lucene80NormsProducer.readFields(IndexInput meta,
FieldInfos infos) |
Modifier and Type | Field and Description |
---|---|
(package private) FieldInfos |
FSTTermsWriter.fieldInfos |
(package private) FieldInfos |
FSTOrdTermsWriter.fieldInfos |
Modifier and Type | Method and Description |
---|---|
private int |
DirectDocValuesProducer.readFields(IndexInput meta,
FieldInfos infos) |
Modifier and Type | Class and Description |
---|---|
private static class |
PerFieldMergeState.FilterFieldInfos |
Modifier and Type | Field and Description |
---|---|
private FieldInfos[] |
PerFieldMergeState.orgFieldInfos |
private FieldInfos |
PerFieldMergeState.orgMergeFieldInfos |
Modifier and Type | Method and Description |
---|---|
private static FieldInfo[] |
PerFieldMergeState.FilterFieldInfos.toArray(FieldInfos src) |
Constructor and Description |
---|
FilterFieldInfos(FieldInfos src,
java.util.Collection<java.lang.String> filterFields) |
Modifier and Type | Field and Description |
---|---|
private FieldInfos |
SimpleTextStoredFieldsReader.fieldInfos |
private FieldInfos |
SimpleTextFieldsReader.fieldInfos |
Modifier and Type | Method and Description |
---|---|
FieldInfos |
SimpleTextFieldInfosFormat.read(Directory directory,
SegmentInfo segmentInfo,
java.lang.String segmentSuffix,
IOContext iocontext) |
Modifier and Type | Method and Description |
---|---|
StoredFieldsReader |
SimpleTextStoredFieldsFormat.fieldsReader(Directory directory,
SegmentInfo si,
FieldInfos fn,
IOContext context) |
void |
SimpleTextTermVectorsWriter.finish(FieldInfos fis,
int numDocs) |
void |
SimpleTextStoredFieldsWriter.finish(FieldInfos fis,
int numDocs) |
TermVectorsReader |
SimpleTextTermVectorsFormat.vectorsReader(Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
IOContext context) |
void |
SimpleTextFieldInfosFormat.write(Directory directory,
SegmentInfo segmentInfo,
java.lang.String segmentSuffix,
FieldInfos infos,
IOContext context) |
void |
SimpleTextFieldsWriter.write(FieldInfos fieldInfos,
Fields fields) |
Constructor and Description |
---|
SimpleTextStoredFieldsReader(Directory directory,
SegmentInfo si,
FieldInfos fn,
IOContext context) |
SimpleTextStoredFieldsReader(long[] offsets,
IndexInput in,
FieldInfos fieldInfos) |
Modifier and Type | Field and Description |
---|---|
protected FieldInfos |
UniformSplitTermsWriter.fieldInfos |
Modifier and Type | Method and Description |
---|---|
protected void |
UniformSplitTermsReader.fillFieldMap(PostingsReaderBase postingsReader,
BlockDecoder blockDecoder,
IndexInput dictionaryInput,
IndexInput blockInput,
java.util.Collection<FieldMetadata> fieldMetadataCollection,
FieldInfos fieldInfos) |
protected static java.util.Collection<FieldMetadata> |
UniformSplitTermsReader.parseFieldsMetadata(IndexInput indexInput,
FieldInfos fieldInfos) |
static FieldMetadata |
FieldMetadata.read(DataInput input,
FieldInfos fieldInfos) |
Modifier and Type | Field and Description |
---|---|
private FieldInfos |
STUniformSplitTermsWriter.FieldsIterator.fieldInfos |
protected FieldInfos |
STIntersectBlockReader.fieldInfos |
protected FieldInfos |
STUniformSplitTerms.fieldInfos |
protected FieldInfos |
STBlockReader.fieldInfos |
Modifier and Type | Method and Description |
---|---|
protected void |
STUniformSplitTermsReader.fillFieldMap(PostingsReaderBase postingsReader,
BlockDecoder blockDecoder,
IndexInput dictionaryInput,
IndexInput blockInput,
java.util.Collection<FieldMetadata> fieldMetadataCollection,
FieldInfos fieldInfos) |
static void |
STBlockLine.Serializer.readFieldTermStatesMap(DataInput termStatesInput,
DeltaBaseTermStateSerializer termStateSerializer,
BlockHeader blockHeader,
FieldInfos fieldInfos,
java.util.Map<java.lang.String,BlockTermState> fieldTermStatesMap)
Reads all the
BlockTermState of all the field in the current block line of the provided input. |
static BlockTermState |
STBlockLine.Serializer.readTermStateForField(int fieldId,
DataInput termStatesInput,
DeltaBaseTermStateSerializer termStateSerializer,
BlockHeader blockHeader,
FieldInfos fieldInfos,
BlockTermState reuse)
Reads a single
BlockTermState for the provided field in the current block line of the provided input. |
Constructor and Description |
---|
FieldsIterator(Fields fields,
FieldInfos fieldInfos) |
STBlockReader(java.util.function.Supplier<IndexDictionary.Browser> dictionaryBrowserSupplier,
IndexInput blockInput,
PostingsReaderBase postingsReader,
FieldMetadata fieldMetadata,
BlockDecoder blockDecoder,
FieldInfos fieldInfos) |
STIntersectBlockReader(CompiledAutomaton compiled,
BytesRef startTerm,
DictionaryBrowserSupplier dictionaryBrowserSupplier,
IndexInput blockInput,
PostingsReaderBase postingsReader,
FieldMetadata fieldMetadata,
BlockDecoder blockDecoder,
FieldInfos fieldInfos) |
STMergingBlockReader(java.util.function.Supplier<IndexDictionary.Browser> dictionaryBrowserSupplier,
IndexInput blockInput,
PostingsReaderBase postingsReader,
FieldMetadata fieldMetadata,
BlockDecoder blockDecoder,
FieldInfos fieldInfos) |
STUniformSplitTerms(IndexInput blockInput,
FieldMetadata fieldMetadata,
FieldMetadata unionFieldMetadata,
PostingsReaderBase postingsReader,
BlockDecoder blockDecoder,
FieldInfos fieldInfos,
DictionaryBrowserSupplier dictionaryBrowserSupplier) |
Modifier and Type | Field and Description |
---|---|
(package private) FieldInfos |
SegmentCoreReaders.coreFieldInfos
fieldinfos for this core: means gen=-1.
|
static FieldInfos |
FieldInfos.EMPTY
An instance without any fields.
|
(package private) FieldInfos |
DocumentsWriterPerThread.FlushedSegment.fieldInfos |
private FieldInfos |
ParallelLeafReader.fieldInfos |
FieldInfos |
SegmentReadState.fieldInfos
FieldInfos describing all fields in this
segment. |
FieldInfos[] |
MergeState.fieldInfos
FieldInfos being merged
|
FieldInfos |
SegmentWriteState.fieldInfos
FieldInfos describing all fields in this
segment. |
(package private) FieldInfos |
SegmentReader.fieldInfos |
private FieldInfos |
SortingLeafReader.SortingFields.infos |
FieldInfos |
MergeState.mergeFieldInfos
FieldInfos of the newly merged segment. |
Modifier and Type | Method and Description |
---|---|
(package private) FieldInfos |
FieldInfos.Builder.finish() |
FieldInfos |
FilterCodecReader.getFieldInfos() |
abstract FieldInfos |
LeafReader.getFieldInfos()
Get the
FieldInfos describing all fields in
this reader. |
FieldInfos |
ParallelLeafReader.getFieldInfos()
Get the
FieldInfos describing all fields in
this reader. |
FieldInfos |
MergeReaderWrapper.getFieldInfos() |
FieldInfos |
SegmentReader.getFieldInfos() |
FieldInfos |
FilterLeafReader.getFieldInfos() |
static FieldInfos |
FieldInfos.getMergedFieldInfos(IndexReader reader)
Call this to get the (merged) FieldInfos for a
composite reader.
|
private FieldInfos |
SegmentReader.initFieldInfos()
init most recent FieldInfos for the current commit
|
private FieldInfos |
PendingSoftDeletes.readFieldInfos() |
(package private) static FieldInfos |
IndexWriter.readFieldInfos(SegmentCommitInfo si) |
Modifier and Type | Method and Description |
---|---|
void |
FieldInfos.Builder.add(FieldInfos other) |
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.
|
(package private) DocValuesProducer |
SegmentDocValues.getDocValuesProducer(long gen,
SegmentCommitInfo si,
Directory dir,
FieldInfos infos)
Returns the
DocValuesProducer for the given generation. |
private void |
ReadersAndUpdates.handleDVUpdates(FieldInfos infos,
Directory dir,
DocValuesFormat dvFormat,
SegmentReader reader,
java.util.Map<java.lang.Integer,java.util.Set<java.lang.String>> fieldFiles,
long maxDelGen,
InfoStream infoStream) |
private RefCount<DocValuesProducer> |
SegmentDocValues.newDocValuesProducer(SegmentCommitInfo si,
Directory dir,
java.lang.Long gen,
FieldInfos infos) |
private void |
IndexWriter.publishFlushedSegment(SegmentCommitInfo newSegment,
FieldInfos fieldInfos,
FrozenBufferedUpdates packet,
FrozenBufferedUpdates globalPacket,
Sorter.DocMap sortMap)
Atomically adds the segment private delete packet and publishes the flushed
segments SegmentInfo to the index writer.
|
private java.util.Set<java.lang.String> |
ReadersAndUpdates.writeFieldInfosGen(FieldInfos fieldInfos,
Directory dir,
FieldInfosFormat infosFormat) |
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 |
---|
FlushedSegment(InfoStream infoStream,
SegmentCommitInfo segmentInfo,
FieldInfos fieldInfos,
BufferedUpdates segmentUpdates,
FixedBitSet liveDocs,
int delCount,
Sorter.DocMap sortMap) |
SegmentDocValuesProducer(SegmentCommitInfo si,
Directory dir,
FieldInfos coreInfos,
FieldInfos allInfos,
SegmentDocValues segDocValues)
Creates a new producer that handles updated docvalues fields
|
SegmentReadState(Directory dir,
SegmentInfo info,
FieldInfos fieldInfos,
boolean openedFromWriter,
IOContext context,
java.util.Map<java.lang.String,java.lang.String> readerAttributes)
Create a
SegmentReadState . |
SegmentReadState(Directory dir,
SegmentInfo info,
FieldInfos fieldInfos,
boolean openedFromWriter,
IOContext context,
java.lang.String segmentSuffix,
java.util.Map<java.lang.String,java.lang.String> readerAttributes)
Create a
SegmentReadState . |
SegmentWriteState(InfoStream infoStream,
Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
BufferedUpdates segUpdates,
IOContext context)
Sole constructor.
|
SegmentWriteState(InfoStream infoStream,
Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
BufferedUpdates segUpdates,
IOContext context,
java.lang.String segmentSuffix)
Constructor which takes segment suffix.
|
SortingFields(Fields in,
FieldInfos infos,
Sorter.DocMap docMap) |
Modifier and Type | Field and Description |
---|---|
private FieldInfos |
MemoryIndex.MemoryIndexReader.fieldInfos |
Modifier and Type | Method and Description |
---|---|
FieldInfos |
MemoryIndex.MemoryIndexReader.getFieldInfos() |
Modifier and Type | Field and Description |
---|---|
private FieldInfos |
TermVectorLeafReader.fieldInfos |
Modifier and Type | Method and Description |
---|---|
FieldInfos |
WeightedSpanTermExtractor.DelegatingLeafReader.getFieldInfos() |
FieldInfos |
TermVectorLeafReader.getFieldInfos() |
Modifier and Type | Field and Description |
---|---|
protected FieldInfos |
UnifiedHighlighter.fieldInfos |
Modifier and Type | Method and Description |
---|---|
FieldInfos |
PhraseHelper.SingleFieldWithOffsetsFilterLeafReader.getFieldInfos() |