Package | Description |
---|---|
org.apache.lucene.facet.encoding |
Offers various encoders and decoders for category ordinals.
|
org.apache.lucene.facet.params |
Facets indexing and search parameters.
|
Modifier and Type | Class and Description |
---|---|
class |
ChunksIntEncoder
An
IntEncoder which encodes values in chunks. |
class |
DGapIntEncoder
An
IntEncoderFilter which encodes the gap between the given values,
rather than the values themselves. |
class |
DGapVInt8IntEncoder
An
IntEncoder which implements variable length encoding for the gap
between values. |
class |
EightFlagsIntEncoder
A
ChunksIntEncoder which encodes data in chunks of 8. |
class |
FourFlagsIntEncoder
A
ChunksIntEncoder which encodes values in chunks of 4. |
class |
IntEncoderFilter
An abstract implementation of
IntEncoder which wraps another encoder. |
class |
NOnesIntEncoder
A variation of
FourFlagsIntEncoder which translates the data as
follows:
Values ≥ 2 are trnalsated to value+1 (2 ⇒ 3, 3
⇒ 4 and so forth). |
class |
SimpleIntEncoder
A simple
IntEncoder , writing an integer as 4 raw bytes. |
class |
SortingIntEncoder
An
IntEncoderFilter which sorts the values to encode in ascending
order before encoding them. |
class |
UniqueValuesIntEncoder
An
IntEncoderFilter which ensures only unique values are encoded. |
class |
VInt8IntEncoder
An
IntEncoder which implements variable length encoding. |
Modifier and Type | Field and Description |
---|---|
protected IntEncoder |
IntEncoderFilter.encoder |
Constructor and Description |
---|
DGapIntEncoder(IntEncoder encoder)
Initializes with the given encoder.
|
IntEncoderFilter(IntEncoder encoder) |
SortingIntEncoder(IntEncoder encoder)
Initializes with the given encoder.
|
UniqueValuesIntEncoder(IntEncoder encoder)
Constructs a new instance with the given encoder.
|
Modifier and Type | Method and Description |
---|---|
IntEncoder |
CategoryListParams.createEncoder()
Allows to override how categories are encoded and decoded.
|
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.