Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.codecs.blockterms |
Pluggable term index / block terms dictionary implementations.
|
org.apache.lucene.codecs.bloom |
Codec PostingsFormat for fast access to low-frequency terms such as primary key fields.
|
org.apache.lucene.codecs.diskdv |
DocValuesFormat that accesses values directly from disk.
|
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.lucene45 |
Lucene 4.5 file format.
|
org.apache.lucene.codecs.memory |
Term dictionary, DocValues or Postings formats that are read entirely into memory.
|
org.apache.lucene.codecs.perfield |
Postings format that can delegate to different formats per-field.
|
org.apache.lucene.codecs.pulsing |
Pulsing Codec: inlines low frequency terms' postings into terms dictionary.
|
org.apache.lucene.codecs.sep |
Sep: base support for separate files (doc,frq,pos,skp,pyl)
|
org.apache.lucene.codecs.simpletext |
Simpletext Codec: writes human readable postings.
|
org.apache.lucene.index |
Misc index tools and index support.
|
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.
|
Constructor and Description |
---|
BlockTermsWriter(TermsIndexWriterBase termsIndexWriter,
SegmentWriteState state,
PostingsWriterBase postingsWriter) |
FixedGapTermsIndexWriter(SegmentWriteState state) |
VariableGapTermsIndexWriter(SegmentWriteState state,
VariableGapTermsIndexWriter.IndexTermSelector policy) |
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
BloomFilteringPostingsFormat.fieldsConsumer(SegmentWriteState state) |
FuzzySet |
DefaultBloomFilterFactory.getSetForField(SegmentWriteState state,
FieldInfo info) |
abstract FuzzySet |
BloomFilterFactory.getSetForField(SegmentWriteState state,
FieldInfo info) |
Modifier and Type | Method and Description |
---|---|
DocValuesConsumer |
DiskDocValuesFormat.fieldsConsumer(SegmentWriteState state) |
DocValuesConsumer |
DiskNormsFormat.normsConsumer(SegmentWriteState state) |
Modifier and Type | Method and Description |
---|---|
DocValuesConsumer |
Lucene40DocValuesFormat.fieldsConsumer(SegmentWriteState state)
Deprecated.
|
FieldsConsumer |
Lucene40PostingsFormat.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)
Deprecated.
|
DocValuesConsumer |
Lucene42NormsFormat.normsConsumer(SegmentWriteState state) |
Modifier and Type | Method and Description |
---|---|
DocValuesConsumer |
Lucene45DocValuesFormat.fieldsConsumer(SegmentWriteState state) |
Constructor and Description |
---|
Lucene45DocValuesConsumer(SegmentWriteState state,
String dataCodec,
String dataExtension,
String metaCodec,
String metaExtension)
expert: Creates a new writer
|
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
FSTPostingsFormat.fieldsConsumer(SegmentWriteState state) |
DocValuesConsumer |
MemoryDocValuesFormat.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
FSTOrdPulsing41PostingsFormat.fieldsConsumer(SegmentWriteState state) |
DocValuesConsumer |
DirectDocValuesFormat.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
DirectPostingsFormat.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
MemoryPostingsFormat.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
FSTOrdPostingsFormat.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
FSTPulsing41PostingsFormat.fieldsConsumer(SegmentWriteState state) |
Constructor and Description |
---|
FSTOrdTermsWriter(SegmentWriteState state,
PostingsWriterBase postingsWriter) |
FSTTermsWriter(SegmentWriteState state,
PostingsWriterBase postingsWriter) |
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
PerFieldPostingsFormat.fieldsConsumer(SegmentWriteState state) |
DocValuesConsumer |
PerFieldDocValuesFormat.fieldsConsumer(SegmentWriteState state) |
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
PulsingPostingsFormat.fieldsConsumer(SegmentWriteState state) |
Constructor and Description |
---|
PulsingPostingsWriter(SegmentWriteState state,
int maxPositions,
PostingsWriterBase wrappedPostingsWriter)
If the total number of positions (summed across all docs
for this term) is <= maxPositions, then the postings are
inlined into terms dict
|
Constructor and Description |
---|
SepPostingsWriter(SegmentWriteState state,
IntStreamFactory factory) |
SepPostingsWriter(SegmentWriteState state,
IntStreamFactory factory,
int skipInterval) |
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
SimpleTextPostingsFormat.fieldsConsumer(SegmentWriteState state) |
DocValuesConsumer |
SimpleTextDocValuesFormat.fieldsConsumer(SegmentWriteState state) |
DocValuesConsumer |
SimpleTextNormsFormat.normsConsumer(SegmentWriteState state) |
Constructor and Description |
---|
SimpleTextNormsFormat.SimpleTextNormsConsumer(SegmentWriteState state) |
Constructor and Description |
---|
SegmentWriteState(SegmentWriteState state,
String segmentSuffix)
Create a shallow copy of
SegmentWriteState with a new segment suffix. |
Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.