Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.codecs.blocktree |
BlockTree terms dictionary.
|
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 |
Lucene 8.0 file format.
|
org.apache.lucene.codecs.perfield |
Postings format that can delegate to different formats per-field.
|
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 |
StoredFieldsWriter.finish(FieldInfos fis,
int numDocs)
Called before
StoredFieldsWriter.close() , passing in the number
of documents that were written. |
abstract void |
TermVectorsWriter.finish(FieldInfos fis,
int numDocs)
Called before
TermVectorsWriter.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 |
---|---|
(package private) FieldInfos |
BlockTreeTermsWriter.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 |
CompressingStoredFieldsWriter.finish(FieldInfos fis,
int numDocs) |
void |
CompressingTermVectorsWriter.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 | 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 |
---|---|
(package private) FieldInfos |
SegmentCoreReaders.coreFieldInfos
fieldinfos for this core: means gen=-1.
|
static FieldInfos |
FieldInfos.EMPTY
An instance without any fields.
|
FieldInfos |
SegmentWriteState.fieldInfos
FieldInfos describing all fields in this
segment. |
FieldInfos |
SegmentReadState.fieldInfos
FieldInfos describing all fields in this
segment. |
(package private) FieldInfos |
SegmentReader.fieldInfos |
FieldInfos[] |
MergeState.fieldInfos
FieldInfos being merged
|
(package private) FieldInfos |
DocumentsWriterPerThread.FlushedSegment.fieldInfos |
private FieldInfos |
ParallelLeafReader.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() |
abstract FieldInfos |
LeafReader.getFieldInfos()
Get the
FieldInfos describing all fields in
this reader. |
FieldInfos |
FilterLeafReader.getFieldInfos() |
FieldInfos |
SegmentReader.getFieldInfos() |
FieldInfos |
FilterCodecReader.getFieldInfos() |
FieldInfos |
MergeReaderWrapper.getFieldInfos() |
FieldInfos |
ParallelLeafReader.getFieldInfos()
Get the
FieldInfos describing all fields in
this reader. |
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() |