|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ClusteringStrategy
A common ancestor interface for all clustering strategies.
Clustering strategies are dual to
partitioning strategies.
After partitioning an index, you can see the set of its parts as local indices
of a cluster. Sometimes a partitioning strategy is also a clustering strategy
(see, e.g., ContiguousDocumentalStrategy
and ContiguousLexicalStrategy), but
sometimes a strategy serves just
one purpose (see, e.g., ChainedLexicalClusteringStrategy).
Each local index is defined by an integer starting from 0 up to
numberOfLocalIndices() − 1.
| Method Summary | |
|---|---|
int |
numberOfLocalIndices()
Returns the number of local indices handled by this strategy. |
| Method Detail |
|---|
int numberOfLocalIndices()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||