Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs for testing (simulate old disk formats, wacky theoretical use cases, etc)
|
org.apache.lucene.codecs.appending |
Codec for on append-only outputs, such as plain output streams and append-only filesystems.
|
org.apache.lucene.codecs.asserting |
Codec for testing that asserts various contracts of the codec apis.
|
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.cheapbastard |
Codec that unreasonably tries to use as little RAM as possible.
|
org.apache.lucene.codecs.compressing |
Support for testing
CompressingStoredFieldsFormat . |
org.apache.lucene.codecs.compressing.dummy |
Dummy CompressingCodec implementation used for testing.
|
org.apache.lucene.codecs.cranky |
Codec for testing that throws random IOExceptions
|
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.lucene3x |
Support for generating test indexes in the Lucene 3.x index format.
|
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.lucene46 |
Support for testing
Lucene46Codec . |
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.simpletext |
Simpletext Codec: writes human readable postings.
|
org.apache.lucene.index |
Misc index tools and index support.
|
org.apache.lucene.util |
General test support.
|
Modifier and Type | Class and Description |
---|---|
class |
Codec
Encodes/decodes an inverted index segment.
|
class |
DocValuesFormat
Encodes/decodes per-document values.
|
class |
FilterCodec
A codec that forwards all its method calls to another codec.
|
class |
PostingsFormat
Encodes/decodes terms, postings, and proximity data.
|
Modifier and Type | Class and Description |
---|---|
class |
AppendingCodec
Deprecated.
This codec is read-only: as the functionality has been folded
into the default codec. Its only for convenience to read old segments.
|
Modifier and Type | Class and Description |
---|---|
class |
AssertingCodec
Acts like
Lucene410Codec but with additional asserts. |
class |
AssertingDocValuesFormat
Just like
Lucene410DocValuesFormat but with additional asserts. |
class |
AssertingPostingsFormat
Just like
Lucene41PostingsFormat but with additional asserts. |
Modifier and Type | Class and Description |
---|---|
class |
Ords41PostingsFormat
Uses
OrdsBlockTreeTermsWriter with Lucene41PostingsWriter . |
Modifier and Type | Class and Description |
---|---|
class |
BloomFilteringPostingsFormat
A
PostingsFormat useful for low doc-frequency fields such as primary
keys. |
class |
TestBloomFilteredLucene41Postings
A class used for testing
BloomFilteringPostingsFormat with a concrete
delegate (Lucene41). |
Modifier and Type | Class and Description |
---|---|
class |
CheapBastardCodec
Codec that tries to use as little ram as possible because he spent all his money on beer
|
Modifier and Type | Class and Description |
---|---|
class |
CompressingCodec
A codec that uses
CompressingStoredFieldsFormat for its stored
fields and delegates to Lucene410Codec for everything else. |
class |
FastCompressingCodec
CompressionCodec that uses
CompressionMode.FAST |
class |
FastDecompressionCompressingCodec
CompressionCodec that uses
CompressionMode.FAST_DECOMPRESSION |
class |
HighCompressionCompressingCodec
CompressionCodec that uses
CompressionMode.HIGH_COMPRESSION |
Modifier and Type | Class and Description |
---|---|
class |
DummyCompressingCodec
CompressionCodec that does not compress data, useful for testing.
|
Modifier and Type | Class and Description |
---|---|
class |
CrankyCodec
Codec for testing that throws random IOExceptions
|
Modifier and Type | Class and Description |
---|---|
class |
IDVersionPostingsFormat
A PostingsFormat optimized for primary-key (ID) fields that also
record a version (long) for each ID, delivered as a payload
created by
IDVersionPostingsFormat.longToBytes(long, org.apache.lucene.util.BytesRef) during indexing. |
Modifier and Type | Class and Description |
---|---|
class |
Lucene3xCodec
Deprecated.
Only for reading existing 3.x indexes
|
class |
PreFlexRWCodec
Writes 3.x-like indexes (not perfect emulation yet) for testing only!
|
Modifier and Type | Class and Description |
---|---|
class |
Lucene40Codec
Deprecated.
Only for reading old 4.0 segments
|
class |
Lucene40DocValuesFormat
Deprecated.
Only for reading old 4.0 and 4.1 segments
|
class |
Lucene40PostingsFormat
Deprecated.
Only for reading old 4.0 segments
|
class |
Lucene40RWCodec
Read-write version of Lucene40Codec for testing
|
class |
Lucene40RWDocValuesFormat
Read-write version of
Lucene40DocValuesFormat for testing |
class |
Lucene40RWPostingsFormat
Read-write version of
Lucene40PostingsFormat for testing. |
Modifier and Type | Class and Description |
---|---|
class |
Lucene41Codec
Deprecated.
Only for reading old 4.0 segments
|
class |
Lucene41PostingsFormat
Lucene 4.1 postings format, which encodes postings in packed integer blocks
for fast decode.
|
class |
Lucene41RWCodec
Read-write version of
Lucene41Codec for testing. |
Modifier and Type | Class and Description |
---|---|
class |
Lucene410Codec
Implements the Lucene 4.10 index format, with configurable per-field postings
and docvalues formats.
|
class |
Lucene410DocValuesFormat
Lucene 4.10 DocValues format.
|
Modifier and Type | Class and Description |
---|---|
class |
Lucene41WithOrds
Customized version of
Lucene41PostingsFormat that uses
FixedGapTermsIndexWriter . |
Modifier and Type | Class and Description |
---|---|
class |
Lucene42Codec
Deprecated.
Only for reading old 4.2 segments
|
class |
Lucene42DocValuesFormat
Deprecated.
Only for reading old 4.2 segments
|
class |
Lucene42RWCodec
Read-write version of
Lucene42Codec for testing. |
class |
Lucene42RWDocValuesFormat
Read-write version of
Lucene42DocValuesFormat for testing. |
Modifier and Type | Class and Description |
---|---|
class |
Lucene45Codec
Deprecated.
Only for reading old 4.3-4.5 segments
|
class |
Lucene45DocValuesFormat
Deprecated.
Only for reading old 4.3-4.5 segments
|
class |
Lucene45RWCodec
Read-write version of
Lucene45Codec for testing. |
class |
Lucene45RWDocValuesFormat
Read-write version of
Lucene45DocValuesFormat for testing. |
Modifier and Type | Class and Description |
---|---|
class |
Lucene46Codec
Deprecated.
Only for reading old 4.6-4.8 segments
|
class |
Lucene46RWCodec
Read-write version of
Lucene46Codec for testing. |
Modifier and Type | Class and Description |
---|---|
class |
Lucene49Codec
Implements the Lucene 4.9 index format, with configurable per-field postings
and docvalues formats.
|
class |
Lucene49DocValuesFormat
Lucene 4.9 DocValues format.
|
class |
Lucene49RWCodec
Read-write version of
Lucene49Codec for testing. |
class |
Lucene49RWDocValuesFormat
Read-write version of
Lucene49DocValuesFormat for testing |
Modifier and Type | Class and Description |
---|---|
class |
DirectDocValuesFormat
In-memory docvalues format that does no (or very little)
compression.
|
class |
DirectPostingsFormat
Wraps
Lucene41PostingsFormat format for on-disk
storage, but then at read time loads and stores all
terms & postings directly in RAM as byte[], int[]. |
class |
FSTOrdPostingsFormat
FSTOrd term dict + Lucene41PBF
|
class |
FSTOrdPulsing41PostingsFormat
FSTOrd + Pulsing41
|
class |
FSTPostingsFormat
FST term dict + Lucene41PBF
|
class |
FSTPulsing41PostingsFormat
FST + Pulsing41, test only, since
FST does no delta encoding here!
|
class |
MemoryDocValuesFormat
In-memory docvalues format
|
class |
MemoryPostingsFormat
Stores terms & postings (docs, positions, payloads) in
RAM, using an FST.
|
Modifier and Type | Class and Description |
---|---|
class |
MockFixedIntBlockPostingsFormat
A silly test codec to verify core support for fixed
sized int block encoders is working.
|
class |
MockVariableIntBlockPostingsFormat
A silly test codec to verify core support for variable
sized int block encoders is working.
|
Modifier and Type | Class and Description |
---|---|
class |
MockRandomPostingsFormat
Randomly combines terms index impl w/ postings impls.
|
Modifier and Type | Class and Description |
---|---|
class |
MockSepPostingsFormat
A silly codec that simply writes each file separately as
single vInts.
|
Modifier and Type | Class and Description |
---|---|
class |
NestedPulsingPostingsFormat
Pulsing(1, Pulsing(2, Lucene41))
|
Modifier and Type | Class and Description |
---|---|
class |
PerFieldDocValuesFormat
Enables per field docvalues support.
|
class |
PerFieldPostingsFormat
Enables per field postings support.
|
Modifier and Type | Class and Description |
---|---|
class |
Pulsing41PostingsFormat
Concrete pulsing implementation over
Lucene41PostingsFormat . |
class |
PulsingPostingsFormat
This postings format "inlines" the postings for terms that have
low docFreq.
|
Modifier and Type | Class and Description |
---|---|
class |
RAMOnlyPostingsFormat
Stores all postings data in RAM, but writes a small
token (header + single int) to identify which "slot" the
index is using in RAM HashMap.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleTextCodec
plain text index format.
|
class |
SimpleTextDocValuesFormat
plain text doc values format.
|
class |
SimpleTextPostingsFormat
For debugging, curiosity, transparency only!! Do not
use this codec in production.
|
Modifier and Type | Class and Description |
---|---|
class |
RandomCodec
Codec that assigns per-field random postings formats.
|
Modifier and Type | Class and Description |
---|---|
class |
NamedSPILoader<S extends NamedSPILoader.NamedSPI>
Helper class for loading named SPIs from classpath (e.g.
|
Copyright © 2000–2022 The Apache Software Foundation. All rights reserved.