Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs for testing (simulate old disk formats, wacky theoretical use cases, etc)
|
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 Lucene41, except the terms dictionary also
supports ords, i.e.
|
org.apache.lucene.codecs.bloom |
Support for generating test indexes using the BloomFilteringPostingsFormat
|
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.lucene40 |
Support for testing
Lucene40PostingsFormat . |
org.apache.lucene.codecs.lucene41 |
Support for testing
Lucene41Codec . |
org.apache.lucene.codecs.lucene410 |
Lucene 4.10 file format.
|
org.apache.lucene.codecs.lucene41ords |
Codec for testing that supports
TermsEnum.ord() |
org.apache.lucene.codecs.lucene42 |
Support for testing
Lucene42Codec . |
org.apache.lucene.codecs.lucene45 |
Support for testing
Lucene45Codec . |
org.apache.lucene.codecs.lucene49 |
Support for testing
Lucene49Codec . |
org.apache.lucene.codecs.memory |
Term dictionary, DocValues or Postings formats that are read entirely into memory.
|
org.apache.lucene.codecs.mockintblock |
Integer encoder implementations for testing.
|
org.apache.lucene.codecs.mockrandom |
Frankenstein codec for testing that pieces together random components.
|
org.apache.lucene.codecs.mocksep |
Very simple implementations of
org.apache.lucene.codecs.sep for testing. |
org.apache.lucene.codecs.nestedpulsing |
Codec for testing that wraps
PulsingPostingsFormat with itself. |
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.ramonly |
Codec for testing that never writes to disk.
|
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 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 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. |
Modifier and Type | Method and Description |
---|---|
DocValuesConsumer |
AssertingDocValuesFormat.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
AssertingPostingsFormat.fieldsConsumer(SegmentWriteState state) |
DocValuesConsumer |
AssertingNormsFormat.normsConsumer(SegmentWriteState state) |
Constructor and Description |
---|
BlockTermsWriter(TermsIndexWriterBase termsIndexWriter,
SegmentWriteState state,
PostingsWriterBase postingsWriter) |
FixedGapTermsIndexWriter(SegmentWriteState state) |
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 |
Ords41PostingsFormat.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 |
TestBloomFilteredLucene41Postings.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
BloomFilteringPostingsFormat.fieldsConsumer(SegmentWriteState state) |
abstract FuzzySet |
BloomFilterFactory.getSetForField(SegmentWriteState state,
FieldInfo info) |
FuzzySet |
DefaultBloomFilterFactory.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 |
Lucene40RWPostingsFormat.fieldsConsumer(SegmentWriteState state) |
DocValuesConsumer |
Lucene40RWDocValuesFormat.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
Lucene40PostingsFormat.fieldsConsumer(SegmentWriteState state)
Deprecated.
|
DocValuesConsumer |
Lucene40DocValuesFormat.fieldsConsumer(SegmentWriteState state)
Deprecated.
|
DocValuesConsumer |
Lucene40RWNormsFormat.normsConsumer(SegmentWriteState state) |
DocValuesConsumer |
Lucene40NormsFormat.normsConsumer(SegmentWriteState state)
Deprecated.
|
PostingsWriterBase |
Lucene40PostingsBaseFormat.postingsWriterBase(SegmentWriteState state)
Deprecated.
|
Constructor and Description |
---|
Lucene40PostingsWriter(SegmentWriteState state)
Creates a
Lucene40PostingsWriter , with the
Lucene40PostingsWriter.DEFAULT_SKIP_INTERVAL . |
Lucene40PostingsWriter(SegmentWriteState state,
int skipInterval)
Creates a
Lucene40PostingsWriter , with the
specified skipInterval . |
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 |
Lucene410DocValuesFormat.fieldsConsumer(SegmentWriteState state) |
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
Lucene41WithOrds.fieldsConsumer(SegmentWriteState state) |
Modifier and Type | Method and Description |
---|---|
DocValuesConsumer |
Lucene42RWDocValuesFormat.fieldsConsumer(SegmentWriteState state) |
DocValuesConsumer |
Lucene42DocValuesFormat.fieldsConsumer(SegmentWriteState state)
Deprecated.
|
DocValuesConsumer |
Lucene42RWNormsFormat.normsConsumer(SegmentWriteState state) |
DocValuesConsumer |
Lucene42NormsFormat.normsConsumer(SegmentWriteState state) |
Modifier and Type | Method and Description |
---|---|
DocValuesConsumer |
Lucene45RWDocValuesFormat.fieldsConsumer(SegmentWriteState state) |
DocValuesConsumer |
Lucene45DocValuesFormat.fieldsConsumer(SegmentWriteState state)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DocValuesConsumer |
Lucene49RWDocValuesFormat.fieldsConsumer(SegmentWriteState state) |
DocValuesConsumer |
Lucene49DocValuesFormat.fieldsConsumer(SegmentWriteState state) |
DocValuesConsumer |
Lucene49NormsFormat.normsConsumer(SegmentWriteState state) |
Modifier and Type | Method and Description |
---|---|
DocValuesConsumer |
MemoryDocValuesFormat.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
DirectPostingsFormat.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
FSTPostingsFormat.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
FSTOrdPulsing41PostingsFormat.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
MemoryPostingsFormat.fieldsConsumer(SegmentWriteState state) |
DocValuesConsumer |
DirectDocValuesFormat.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
FSTPulsing41PostingsFormat.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
FSTOrdPostingsFormat.fieldsConsumer(SegmentWriteState state) |
Constructor and Description |
---|
FSTOrdTermsWriter(SegmentWriteState state,
PostingsWriterBase postingsWriter) |
FSTTermsWriter(SegmentWriteState state,
PostingsWriterBase postingsWriter) |
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
MockFixedIntBlockPostingsFormat.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
MockVariableIntBlockPostingsFormat.fieldsConsumer(SegmentWriteState state) |
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
MockRandomPostingsFormat.fieldsConsumer(SegmentWriteState state) |
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
MockSepPostingsFormat.fieldsConsumer(SegmentWriteState state) |
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
NestedPulsingPostingsFormat.fieldsConsumer(SegmentWriteState state) |
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
|
Modifier and Type | Method and Description |
---|---|
FieldsConsumer |
RAMOnlyPostingsFormat.fieldsConsumer(SegmentWriteState writeState) |
Constructor and Description |
---|
SepPostingsWriter(SegmentWriteState state,
IntStreamFactory factory) |
SepPostingsWriter(SegmentWriteState state,
IntStreamFactory factory,
int skipInterval) |
Modifier and Type | Method and Description |
---|---|
DocValuesConsumer |
SimpleTextDocValuesFormat.fieldsConsumer(SegmentWriteState state) |
FieldsConsumer |
SimpleTextPostingsFormat.fieldsConsumer(SegmentWriteState state) |
DocValuesConsumer |
SimpleTextNormsFormat.normsConsumer(SegmentWriteState state) |
Constructor and Description |
---|
SimpleTextNormsConsumer(SegmentWriteState state) |
Constructor and Description |
---|
SegmentWriteState(SegmentWriteState state,
String segmentSuffix)
Create a shallow copy of
SegmentWriteState with a new segment suffix. |
Copyright © 2000–2016 The Apache Software Foundation. All rights reserved.