public class LexicalStrategies extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
LexicalStrategies() |
| Modifier and Type | Method and Description |
|---|---|
static ContiguousLexicalStrategy |
uniform(int numberOfLocalIndices,
Index index)
Creates an contiguous lexical strategy in which
all local indices have approximately the same number of documents.
|
public static ContiguousLexicalStrategy uniform(int numberOfLocalIndices, Index index) throws IOException
numberOfLocalIndices - the number of local indices.index - the global index to be partitioned.ContiguousLexicalStrategy that will partition in index in
numberOfLocalIndices local indices of approximately equal size.IOException