| Package | Description |
|---|---|
| org.elasticsearch.cluster.metadata | |
| org.elasticsearch.cluster.routing |
| Modifier and Type | Method and Description |
|---|---|
HashFunction |
IndexMetaData.getRoutingHashFunction()
Return the
HashFunction that should be used for routing. |
| Modifier and Type | Class and Description |
|---|---|
class |
DjbHashFunction
This class implements the efficient hash function
developed by Daniel J.
|
class |
Murmur3HashFunction
Hash function based on the Murmur3 algorithm, which is the default as of Elasticsearch 2.0.
|
class |
SimpleHashFunction
This class implements a simple hash function based on Java Build-In
Object.hashCode() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
OperationRouting.hash(HashFunction hashFunction,
String routing) |
protected int |
OperationRouting.hash(HashFunction hashFunction,
String type,
String id)
Deprecated.
|
Copyright © 2009–2017. All rights reserved.