Class Murmur3HashFunction

java.lang.Object
org.elasticsearch.cluster.routing.Murmur3HashFunction

public final class Murmur3HashFunction extends Object
Hash function based on the Murmur3 algorithm, which is the default as of Elasticsearch 2.0.
  • Method Details

    • hash

      public static int hash(String routing)
    • hash

      public static int hash(byte[] bytes, int offset, int length)