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.blockterms |
Pluggable term index / block terms dictionary implementations.
|
org.apache.lucene.codecs.blocktree |
BlockTree terms dictionary.
|
org.apache.lucene.codecs.blocktreeords |
Same postings format as Lucene50, except the terms dictionary also
supports ords, i.e.
|
org.apache.lucene.codecs.bloom |
Codec PostingsFormat for fast access to low-frequency terms
such as primary key fields.
|
org.apache.lucene.codecs.idversion |
A primary-key postings format that associates a version (long) with each term and
can provide fail-fast lookups by ID and version.
|
org.apache.lucene.codecs.lucene50 |
Components from the Lucene 5.0 index format
See
org.apache.lucene.codecs.lucene50 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.lucene53 for an overview
of the index format. |
org.apache.lucene.codecs.lucene54 |
Lucene 5.4 file format.
|
org.apache.lucene.codecs.lucene60 |
Components from the Lucene 6.0 index format.
|
org.apache.lucene.codecs.lucene70 |
Lucene 7.0 file format.
|
org.apache.lucene.codecs.memory |
Term dictionary, DocValues or Postings formats that are read
entirely into memory.
|
org.apache.lucene.codecs.mockrandom |
Frankenstein codec for testing that pieces together random components.
|
org.apache.lucene.codecs.perfield |
Postings format that can delegate to different formats per-field.
|
org.apache.lucene.codecs.ramonly |
Codec for testing that never writes to disk.
|
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.suggest.document |
Support for document suggestion
|
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 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. |
Modifier and Type | Method and Description |
---|---|
DocValuesConsumer |
AssertingDocValuesFormat.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
AssertingPostingsFormat.fieldsConsumer(SegmentWriteState state) |
PointsWriter |
AssertingPointsFormat.fieldsWriter(SegmentWriteState state) |
NormsConsumer |
AssertingNormsFormat.normsConsumer(SegmentWriteState state) |
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
LuceneVarGapFixedInterval.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
LuceneFixedGap.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
LuceneVarGapDocFreqInterval.fieldsConsumer(SegmentWriteState state) |
Constructor and Description |
---|
BlockTermsWriter(TermsIndexWriterBase termsIndexWriter,
SegmentWriteState state,
PostingsWriterBase postingsWriter) |
FixedGapTermsIndexWriter(SegmentWriteState state) |
FixedGapTermsIndexWriter(SegmentWriteState state,
int termIndexInterval) |
VariableGapTermsIndexWriter(SegmentWriteState state,
VariableGapTermsIndexWriter.IndexTermSelector policy) |
Constructor and Description |
---|
BlockTreeTermsWriter(SegmentWriteState state,
PostingsWriterBase postingsWriter,
int minItemsInBlock,
int maxItemsInBlock)
Create a new writer.
|
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
BlockTreeOrdsPostingsFormat.fieldsConsumer(SegmentWriteState state) |
Constructor and Description |
---|
OrdsBlockTreeTermsWriter(SegmentWriteState state,
PostingsWriterBase postingsWriter,
int minItemsInBlock,
int maxItemsInBlock)
Create a new writer.
|
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
TestBloomFilteredLucenePostings.fieldsConsumer(SegmentWriteState state) |
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 |
---|---|
FieldsConsumer |
IDVersionPostingsFormat.fieldsConsumer(SegmentWriteState state) |
Constructor and Description |
---|
VersionBlockTreeTermsWriter(SegmentWriteState state,
PostingsWriterBase postingsWriter,
int minItemsInBlock,
int maxItemsInBlock)
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)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PointsWriter |
Lucene60PointsFormat.fieldsWriter(SegmentWriteState state) |
Constructor and Description |
---|
Lucene60PointsWriter(SegmentWriteState writeState)
Uses the defaults values for
maxPointsInLeafNode (1024) and maxMBSortInHeap (16.0) |
Lucene60PointsWriter(SegmentWriteState writeState,
int maxPointsInLeafNode,
double maxMBSortInHeap)
Full constructor
|
Modifier and Type | Method and Description |
---|---|
DocValuesConsumer |
Lucene70DocValuesFormat.fieldsConsumer(SegmentWriteState state) |
NormsConsumer |
Lucene70NormsFormat.normsConsumer(SegmentWriteState state) |
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
FSTOrdPostingsFormat.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
FSTPostingsFormat.fieldsConsumer(SegmentWriteState state) |
DocValuesConsumer |
MemoryDocValuesFormat.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
MemoryPostingsFormat.fieldsConsumer(SegmentWriteState state) |
DocValuesConsumer |
DirectDocValuesFormat.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
DirectPostingsFormat.fieldsConsumer(SegmentWriteState state) |
Constructor and Description |
---|
FSTOrdTermsWriter(SegmentWriteState state,
PostingsWriterBase postingsWriter) |
FSTTermsWriter(SegmentWriteState state,
PostingsWriterBase postingsWriter) |
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
MockRandomPostingsFormat.fieldsConsumer(SegmentWriteState state) |
Modifier and Type | Method and Description |
---|---|
DocValuesConsumer |
PerFieldDocValuesFormat.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
PerFieldPostingsFormat.fieldsConsumer(SegmentWriteState state) |
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
RAMOnlyPostingsFormat.fieldsConsumer(SegmentWriteState writeState) |
Modifier and Type | Method and Description |
---|---|
PointsWriter |
SimpleTextPointsFormat.fieldsWriter(SegmentWriteState state) |
NormsConsumer |
SimpleTextNormsFormat.normsConsumer(SegmentWriteState state) |
Constructor and Description |
---|
SimpleTextNormsConsumer(SegmentWriteState state) |
Constructor and Description |
---|
SegmentWriteState(SegmentWriteState state,
java.lang.String segmentSuffix)
Create a shallow copy of
SegmentWriteState with a new segment suffix. |
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
CompletionPostingsFormat.fieldsConsumer(SegmentWriteState state) |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.