Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.codecs.asserting |
Codec for testing that asserts various contracts of the codec apis.
|
org.apache.lucene.codecs.compressing |
StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.
|
org.apache.lucene.codecs.lucene40 |
Lucene 4.0 file format.
|
org.apache.lucene.codecs.lucene41 |
Lucene 4.1 file format.
|
org.apache.lucene.codecs.lucene42 |
Lucene 4.2 file format.
|
org.apache.lucene.codecs.lucene46 |
Lucene 4.6 file format.
|
org.apache.lucene.codecs.lucene50 |
Components from the Lucene 5.0 index format
See
org.apache.lucene.codecs.lucene53 for an overview
of the index format. |
org.apache.lucene.codecs.simpletext |
Simpletext Codec: writes human readable postings.
|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.search.highlight |
Highlighting search terms.
|
org.apache.lucene.uninverting |
Support for creating docvalues on-the-fly from the inverted index at runtime.
|
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 |
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. |
static boolean |
UndeadNormsProducer.isUndeadArmy(FieldInfos fieldInfos) |
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 |
AssertingStoredFieldsFormat.fieldsReader(Directory directory,
SegmentInfo si,
FieldInfos fn,
IOContext context) |
TermVectorsReader |
AssertingTermVectorsFormat.vectorsReader(Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
IOContext context) |
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 |
Lucene40FieldInfosFormat.read(Directory directory,
SegmentInfo segmentInfo,
String segmentSuffix,
IOContext iocontext)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
StoredFieldsReader |
Lucene40StoredFieldsFormat.fieldsReader(Directory directory,
SegmentInfo si,
FieldInfos fn,
IOContext context)
Deprecated.
|
TermVectorsReader |
Lucene40TermVectorsFormat.vectorsReader(Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
IOContext context)
Deprecated.
|
void |
Lucene40FieldInfosFormat.write(Directory directory,
SegmentInfo segmentInfo,
String segmentSuffix,
FieldInfos infos,
IOContext context)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
StoredFieldsReader |
Lucene41StoredFieldsFormat.fieldsReader(Directory directory,
SegmentInfo si,
FieldInfos fn,
IOContext context)
Deprecated.
|
Constructor and Description |
---|
Lucene41PostingsReader(Directory dir,
FieldInfos fieldInfos,
SegmentInfo segmentInfo,
IOContext ioContext,
String segmentSuffix)
Deprecated.
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
FieldInfos |
Lucene42FieldInfosFormat.read(Directory directory,
SegmentInfo segmentInfo,
String segmentSuffix,
IOContext iocontext)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
TermVectorsReader |
Lucene42TermVectorsFormat.vectorsReader(Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
IOContext context)
Deprecated.
|
void |
Lucene42FieldInfosFormat.write(Directory directory,
SegmentInfo segmentInfo,
String segmentSuffix,
FieldInfos infos,
IOContext context)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
FieldInfos |
Lucene46FieldInfosFormat.read(Directory directory,
SegmentInfo segmentInfo,
String segmentSuffix,
IOContext context)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
Lucene46FieldInfosFormat.write(Directory directory,
SegmentInfo segmentInfo,
String segmentSuffix,
FieldInfos infos,
IOContext context)
Deprecated.
|
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 |
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 |
SimpleTextStoredFieldsWriter.finish(FieldInfos fis,
int numDocs) |
void |
SimpleTextTermVectorsWriter.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 |
---|---|
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. |
FieldInfos |
MergeState.mergeFieldInfos
FieldInfos of the newly merged segment. |
Modifier and Type | Method and Description |
---|---|
FieldInfos |
MismatchedLeafReader.getFieldInfos() |
FieldInfos |
FieldFilterLeafReader.getFieldInfos() |
FieldInfos |
ParallelLeafReader.getFieldInfos()
Get the
FieldInfos describing all fields in
this reader. |
FieldInfos |
FilterCodecReader.getFieldInfos() |
FieldInfos |
FilterLeafReader.getFieldInfos() |
abstract FieldInfos |
LeafReader.getFieldInfos()
Get the
FieldInfos describing all fields in
this reader. |
FieldInfos |
SlowCompositeReaderWrapper.getFieldInfos() |
FieldInfos |
SegmentReader.getFieldInfos() |
static FieldInfos |
MultiFields.getMergedFieldInfos(IndexReader reader)
Call this to get the (merged) FieldInfos for a
composite reader.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BaseFieldInfoFormatTestCase.assertEquals(FieldInfos expected,
FieldInfos actual)
equality for entirety of fieldinfos
|
Constructor and Description |
---|
SegmentReadState(Directory dir,
SegmentInfo info,
FieldInfos fieldInfos,
IOContext context)
Create a
SegmentReadState . |
SegmentReadState(Directory dir,
SegmentInfo info,
FieldInfos fieldInfos,
IOContext context,
String segmentSuffix)
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 | Method and Description |
---|---|
FieldInfos |
UninvertingReader.getFieldInfos() |
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.