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.lucene80 |
Components from the Lucene 8.0 index format
See
org.apache.lucene.codecs.lucene84 for an overview
of the index format. |
org.apache.lucene.codecs.lucene84 |
Components from the Lucene 8.4 index format.
|
org.apache.lucene.codecs.lucene86 |
Lucene 8.6 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 DocValuesConsumer |
DocValuesFormat.fieldsConsumer(SegmentWriteState state)
Returns a
DocValuesConsumer to write docvalues to the
index. |
abstract FieldsConsumer |
PostingsFormat.fieldsConsumer(SegmentWriteState state)
Writes a new segment
|
abstract PointsWriter |
PointsFormat.fieldsWriter(SegmentWriteState state)
Writes a new segment
|
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.
|
Modifier and Type | Method and Description |
---|---|
DocValuesConsumer |
Lucene80DocValuesFormat.fieldsConsumer(SegmentWriteState state) |
NormsConsumer |
Lucene80NormsFormat.normsConsumer(SegmentWriteState state) |
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
Lucene84PostingsFormat.fieldsConsumer(SegmentWriteState state) |
void |
Lucene84PostingsWriter.init(IndexOutput termsOut,
SegmentWriteState state) |
Constructor and Description |
---|
Lucene84PostingsWriter(SegmentWriteState state)
Creates a postings writer
|
Modifier and Type | Method and Description |
---|---|
PointsWriter |
Lucene86PointsFormat.fieldsWriter(SegmentWriteState state) |
Constructor and Description |
---|
Lucene86PointsWriter(SegmentWriteState writeState)
Uses the defaults values for
maxPointsInLeafNode (1024) and maxMBSortInHeap (16.0) |
Lucene86PointsWriter(SegmentWriteState writeState,
int maxPointsInLeafNode,
double maxMBSortInHeap)
Full constructor
|
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-2024 Apache Software Foundation. All Rights Reserved.