Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
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.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 DocValuesConsumer |
NormsFormat.normsConsumer(SegmentWriteState state)
Returns a
DocValuesConsumer to write norms to the
index. |
abstract PostingsWriterBase |
PostingsBaseFormat.postingsWriterBase(SegmentWriteState state)
Creates the
PostingsWriterBase for this
format. |
Constructor and Description |
---|
BlockTreeTermsWriter(SegmentWriteState state,
PostingsWriterBase postingsWriter,
int minItemsInBlock,
int maxItemsInBlock)
Create a new writer.
|
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
Lucene40PostingsFormat.fieldsConsumer(SegmentWriteState state)
Deprecated.
|
DocValuesConsumer |
Lucene40DocValuesFormat.fieldsConsumer(SegmentWriteState state)
Deprecated.
|
DocValuesConsumer |
Lucene40NormsFormat.normsConsumer(SegmentWriteState state)
Deprecated.
|
PostingsWriterBase |
Lucene40PostingsBaseFormat.postingsWriterBase(SegmentWriteState state)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
Lucene41PostingsFormat.fieldsConsumer(SegmentWriteState state) |
PostingsWriterBase |
Lucene41PostingsBaseFormat.postingsWriterBase(SegmentWriteState state) |
Constructor and Description |
---|
Lucene41PostingsWriter(SegmentWriteState state)
Creates a postings writer with
PackedInts.COMPACT |
Lucene41PostingsWriter(SegmentWriteState state,
float acceptableOverheadRatio)
Creates a postings writer with the specified PackedInts overhead ratio
|
Modifier and Type | Method and Description |
---|---|
DocValuesConsumer |
Lucene42DocValuesFormat.fieldsConsumer(SegmentWriteState state) |
DocValuesConsumer |
Lucene42NormsFormat.normsConsumer(SegmentWriteState state) |
Modifier and Type | Method and Description |
---|---|
DocValuesConsumer |
PerFieldDocValuesFormat.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
PerFieldPostingsFormat.fieldsConsumer(SegmentWriteState state) |
Constructor and Description |
---|
SegmentWriteState(SegmentWriteState state,
String segmentSuffix)
Create a shallow
SegmentWriteState copy final a format ID |
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.