Package | Description |
---|---|
org.apache.lucene.facet.index |
Indexing of document categories
Attachment of
CategoryPath 's
or CategoryAttribute 's
to a given document using a
Taxonomy . |
org.apache.lucene.facet.index.params |
Indexing-time specifications for handling facets
Parameters on how facets are to be written to the index,
such as which fields and terms are used to refer to the facets posting list.
|
org.apache.lucene.util.encoding |
Offers various encoders and decoders for integers, as well as the
mechanisms to create new ones.
|
Constructor and Description |
---|
CategoryListPayloadStream(IntEncoder encoder)
Creates a Payload stream using the specified encoder.
|
Modifier and Type | Method and Description |
---|---|
IntEncoder |
CategoryListParams.createEncoder()
Allows to override how categories are encoded and decoded.
|
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 |
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 is served as a filter
on the values to encode. |
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 |
protected IntEncoder |
ChunksIntEncoder.encoder
Encoder used to encode values outside the indicator.
|
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.
|