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.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 | Field and Description |
---|---|
static PostingsFormat[] |
PostingsFormat.EMPTY
Zero-length
PostingsFormat array. |
Modifier and Type | Method and Description |
---|---|
static PostingsFormat |
PostingsFormat.forName(String name)
looks up a format by name
|
abstract PostingsFormat |
Codec.postingsFormat()
Encodes/decodes postings
|
PostingsFormat |
FilterCodec.postingsFormat() |
Modifier and Type | Method and Description |
---|---|
PostingsFormat |
AppendingCodec.postingsFormat()
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
AssertingPostingsFormat
Just like
Lucene41PostingsFormat but with additional asserts. |
Modifier and Type | Method and Description |
---|---|
PostingsFormat |
AssertingCodec.postingsFormat() |
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). |
Constructor and Description |
---|
BloomFilteringPostingsFormat(PostingsFormat delegatePostingsFormat)
Creates Bloom filters for a selection of fields created in the index.
|
BloomFilteringPostingsFormat(PostingsFormat delegatePostingsFormat,
BloomFilterFactory bloomFilterFactory)
Creates Bloom filters for a selection of fields created in the index.
|
Modifier and Type | Method and Description |
---|---|
PostingsFormat |
CheapBastardCodec.postingsFormat() |
Modifier and Type | Method and Description |
---|---|
PostingsFormat |
CrankyCodec.postingsFormat() |
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 | Method and Description |
---|---|
PostingsFormat |
PreFlexRWCodec.postingsFormat() |
PostingsFormat |
Lucene3xCodec.postingsFormat()
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
Lucene40PostingsFormat
Deprecated.
Only for reading old 4.0 segments
|
class |
Lucene40RWPostingsFormat
Read-write version of
Lucene40PostingsFormat for testing. |
Modifier and Type | Method and Description |
---|---|
PostingsFormat |
Lucene40Codec.getPostingsFormatForField(String field)
Deprecated.
Returns the postings format that should be used for writing
new segments of
field . |
PostingsFormat |
Lucene40Codec.postingsFormat()
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
Lucene41PostingsFormat
Lucene 4.1 postings format, which encodes postings in packed integer blocks
for fast decode.
|
Modifier and Type | Method and Description |
---|---|
PostingsFormat |
Lucene41Codec.getPostingsFormatForField(String field)
Deprecated.
Returns the postings format that should be used for writing
new segments of
field . |
PostingsFormat |
Lucene41Codec.postingsFormat()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PostingsFormat |
Lucene410Codec.getPostingsFormatForField(String field)
Returns the postings format that should be used for writing
new segments of
field . |
PostingsFormat |
Lucene410Codec.postingsFormat() |
Modifier and Type | Class and Description |
---|---|
class |
Lucene41WithOrds
Customized version of
Lucene41PostingsFormat that uses
FixedGapTermsIndexWriter . |
Modifier and Type | Method and Description |
---|---|
PostingsFormat |
Lucene42Codec.getPostingsFormatForField(String field)
Deprecated.
Returns the postings format that should be used for writing
new segments of
field . |
PostingsFormat |
Lucene42Codec.postingsFormat()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PostingsFormat |
Lucene45Codec.getPostingsFormatForField(String field)
Deprecated.
Returns the postings format that should be used for writing
new segments of
field . |
PostingsFormat |
Lucene45Codec.postingsFormat()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PostingsFormat |
Lucene46Codec.getPostingsFormatForField(String field)
Deprecated.
Returns the postings format that should be used for writing
new segments of
field . |
PostingsFormat |
Lucene46Codec.postingsFormat()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PostingsFormat |
Lucene49Codec.getPostingsFormatForField(String field)
Returns the postings format that should be used for writing
new segments of
field . |
PostingsFormat |
Lucene49Codec.postingsFormat() |
Modifier and Type | Class and Description |
---|---|
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 |
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 |
PerFieldPostingsFormat
Enables per field postings support.
|
Modifier and Type | Method and Description |
---|---|
abstract PostingsFormat |
PerFieldPostingsFormat.getPostingsFormatForField(String field)
Returns the postings format that should be used for writing
new segments of
field . |
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 |
SimpleTextPostingsFormat
For debugging, curiosity, transparency only!! Do not
use this codec in production.
|
Modifier and Type | Method and Description |
---|---|
PostingsFormat |
SimpleTextCodec.postingsFormat() |
Modifier and Type | Method and Description |
---|---|
PostingsFormat |
RandomCodec.getPostingsFormatForField(String name) |
Modifier and Type | Method and Description |
---|---|
static Codec |
TestUtil.alwaysPostingsFormat(PostingsFormat format)
Return a Codec that can read any of the
default codecs and formats, but always writes in the specified
format.
|
Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.