public interface LexicalClusteringStrategy extends ClusteringStrategy
|Modifier and Type||Method and Description|
Returns the global term number given a local index and a local term number (optional operation).
Returns the index to which a given term is be mapped by this strategy.
int localIndex(CharSequence term)
term- a term.
long globalNumber(int localIndex, long localNumber)
This operation is not, in general, necessary for a
to work, as no action on a local index returns local numbers. It is defined here
mainly for completeness and for debugging purposes (in case it is implemented).
localIndex- the local index.
localNumber- the local term number.