Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.index.pruning |
Static Index Pruning Tools
This package provides a framework for pruning an existing index into
a smaller index while retaining visible search quality as much as possible.
|
Class and Description |
---|
StorePruningPolicy
Pruning policy for removing stored fields from documents.
|
TermPruningPolicy
Policy for producing smaller index out of an input index, by examining its terms
and removing from the index some or all of their data as follows:
all terms of a certain field - see
TermPruningPolicy.pruneAllFieldPostings(String)
all data of a certain term - see TermPruningPolicy.pruneTermEnum(TermEnum)
all positions of a certain term in a certain document - see #pruneAllPositions(TermPositions, Term)
some positions of a certain term in a certain document - see #pruneSomePositions(int, int[], Term)
The pruned, smaller index would, for many types of queries return nearly
identical top-N results as compared with the original index, but with increased performance. |
Class and Description |
---|
CarmelTopKTermPruningPolicy.ByDocComparator |
CarmelUniformTermPruningPolicy.ByDocComparator |
PruningPolicy
General Definitions for Index Pruning, such as operations to be performed on field data.
|
TermPruningPolicy
Policy for producing smaller index out of an input index, by examining its terms
and removing from the index some or all of their data as follows:
all terms of a certain field - see
TermPruningPolicy.pruneAllFieldPostings(String)
all data of a certain term - see TermPruningPolicy.pruneTermEnum(TermEnum)
all positions of a certain term in a certain document - see #pruneAllPositions(TermPositions, Term)
some positions of a certain term in a certain document - see #pruneSomePositions(int, int[], Term)
The pruned, smaller index would, for many types of queries return nearly
identical top-N results as compared with the original index, but with increased performance. |