Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.codecs.compressing |
StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.
|
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.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.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 | Method and Description |
---|---|
abstract FieldInfos |
FieldInfosFormat.read(Directory directory,
SegmentInfo segmentInfo,
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,
String segmentSuffix,
FieldInfos infos,
IOContext context)
Writes the provided
FieldInfos to the
directory. |
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,
String segmentSuffix,
FieldInfos fn,
IOContext context,
String formatName,
CompressionMode compressionMode)
Sole constructor.
|
CompressingTermVectorsReader(Directory d,
SegmentInfo si,
String segmentSuffix,
FieldInfos fn,
IOContext context,
String formatName,
CompressionMode compressionMode)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
FieldInfos |
Lucene50FieldInfosFormat.read(Directory directory,
SegmentInfo segmentInfo,
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,
String segmentSuffix,
FieldInfos infos,
IOContext context) |
Modifier and Type | Method and Description |
---|---|
FieldInfos |
Lucene60FieldInfosFormat.read(Directory directory,
SegmentInfo segmentInfo,
String segmentSuffix,
IOContext context) |
Modifier and Type | Method and Description |
---|---|
void |
Lucene60FieldInfosFormat.write(Directory directory,
SegmentInfo segmentInfo,
String segmentSuffix,
FieldInfos infos,
IOContext context) |
Modifier and Type | Method and Description |
---|---|
FieldInfos |
SimpleTextFieldInfosFormat.read(Directory directory,
SegmentInfo segmentInfo,
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,
String segmentSuffix,
FieldInfos infos,
IOContext context) |
Constructor and Description |
---|
SimpleTextStoredFieldsReader(Directory directory,
SegmentInfo si,
FieldInfos fn,
IOContext context) |
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,
Collection<FieldMetadata> fieldMetadataCollection,
FieldInfos fieldInfos) |
protected static Collection<FieldMetadata> |
UniformSplitTermsReader.parseFieldsMetadata(IndexInput indexInput,
FieldInfos fieldInfos) |
static FieldMetadata |
FieldMetadata.read(DataInput input,
FieldInfos fieldInfos) |
Modifier and Type | Field and Description |
---|---|
protected FieldInfos |
STUniformSplitTerms.fieldInfos |
protected FieldInfos |
STIntersectBlockReader.fieldInfos |
protected FieldInfos |
STBlockReader.fieldInfos |
Modifier and Type | Method and Description |
---|---|
protected void |
STUniformSplitTermsReader.fillFieldMap(PostingsReaderBase postingsReader,
BlockDecoder blockDecoder,
IndexInput dictionaryInput,
IndexInput blockInput,
Collection<FieldMetadata> fieldMetadataCollection,
FieldInfos fieldInfos) |
static void |
STBlockLine.Serializer.readFieldTermStatesMap(DataInput termStatesInput,
DeltaBaseTermStateSerializer termStateSerializer,
BlockHeader blockHeader,
FieldInfos fieldInfos,
Map<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. |
Modifier and Type | Field and Description |
---|---|
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. |
FieldInfos[] |
MergeState.fieldInfos
FieldInfos being merged
|
FieldInfos |
MergeState.mergeFieldInfos
FieldInfos of the newly merged segment. |
Modifier and Type | Method and Description |
---|---|
FieldInfos |
SegmentReader.getFieldInfos() |
FieldInfos |
ParallelLeafReader.getFieldInfos()
Get the
FieldInfos describing all fields in
this reader. |
abstract FieldInfos |
LeafReader.getFieldInfos()
Get the
FieldInfos describing all fields in
this reader. |
FieldInfos |
FilterLeafReader.getFieldInfos() |
FieldInfos |
FilterCodecReader.getFieldInfos() |
static FieldInfos |
FieldInfos.getMergedFieldInfos(IndexReader reader)
Call this to get the (merged) FieldInfos for a
composite reader.
|
Constructor and Description |
---|
SegmentReadState(Directory dir,
SegmentInfo info,
FieldInfos fieldInfos,
boolean openedFromWriter,
IOContext context,
Map<String,String> readerAttributes)
Create a
SegmentReadState . |
SegmentReadState(Directory dir,
SegmentInfo info,
FieldInfos fieldInfos,
boolean openedFromWriter,
IOContext context,
String segmentSuffix,
Map<String,String> readerAttributes)
Create a
SegmentReadState . |
SegmentWriteState(InfoStream infoStream,
Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
org.apache.lucene.index.BufferedUpdates segUpdates,
IOContext context)
Sole constructor.
|
SegmentWriteState(InfoStream infoStream,
Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
org.apache.lucene.index.BufferedUpdates segUpdates,
IOContext context,
String segmentSuffix)
Constructor which takes segment suffix.
|
Modifier and Type | Method and Description |
---|---|
FieldInfos |
TermVectorLeafReader.getFieldInfos() |
Modifier and Type | Field and Description |
---|---|
protected FieldInfos |
UnifiedHighlighter.fieldInfos |
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.