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.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.lucene53 |
Components from the Lucene 5.3 index format
See
org.apache.lucene.codecs.lucene54 for an overview
of the index format. |
org.apache.lucene.codecs.lucene54 |
Lucene 5.4 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.
|
Modifier and Type | Method and Description |
---|---|
abstract FieldsConsumer |
PostingsFormat.fieldsConsumer(SegmentWriteState state)
Writes a new segment
|
abstract DocValuesConsumer |
DocValuesFormat.fieldsConsumer(SegmentWriteState state)
Returns a
DocValuesConsumer to write docvalues to the
index. |
abstract void |
PostingsWriterBase.init(IndexOutput termsOut,
SegmentWriteState state)
Called once after startup, before any terms have been
added.
|
abstract NormsConsumer |
NormsFormat.normsConsumer(SegmentWriteState state)
Returns a
NormsConsumer to write norms to the
index. |
Constructor and Description |
---|
BlockTreeTermsWriter(SegmentWriteState state,
PostingsWriterBase postingsWriter,
int minItemsInBlock,
int maxItemsInBlock)
Create a new writer, using default values for auto-prefix terms.
|
BlockTreeTermsWriter(SegmentWriteState state,
PostingsWriterBase postingsWriter,
int minItemsInBlock,
int maxItemsInBlock,
int minItemsInAutoPrefix,
int maxItemsInAutoPrefix)
Create a new writer.
|
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
Lucene50PostingsFormat.fieldsConsumer(SegmentWriteState state) |
void |
Lucene50PostingsWriter.init(IndexOutput termsOut,
SegmentWriteState state) |
Constructor and Description |
---|
Lucene50PostingsWriter(SegmentWriteState state)
Creates a postings writer
|
Modifier and Type | Method and Description |
---|---|
NormsConsumer |
Lucene53NormsFormat.normsConsumer(SegmentWriteState state) |
Modifier and Type | Method and Description |
---|---|
DocValuesConsumer |
Lucene54DocValuesFormat.fieldsConsumer(SegmentWriteState state) |
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
PerFieldPostingsFormat.fieldsConsumer(SegmentWriteState state) |
DocValuesConsumer |
PerFieldDocValuesFormat.fieldsConsumer(SegmentWriteState state) |
Constructor and Description |
---|
SegmentWriteState(SegmentWriteState state,
String segmentSuffix)
Create a shallow copy of
SegmentWriteState with a new segment suffix. |
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.