Example usage for org.apache.lucene.util StringHelper GOOD_FAST_HASH_SEED

List of usage examples for org.apache.lucene.util StringHelper GOOD_FAST_HASH_SEED

Introduction

In this page you can find the example usage for org.apache.lucene.util StringHelper GOOD_FAST_HASH_SEED.

Prototype

int GOOD_FAST_HASH_SEED

To view the source code for org.apache.lucene.util StringHelper GOOD_FAST_HASH_SEED.

Click Source Link

Document

Pass this as the seed to #murmurhash3_x86_32 .

Usage

From source file:org.elasticsearch.xpack.security.authc.BytesKey.java

License:Open Source License

public BytesKey(byte[] bytes) {
    this.bytes = bytes;
    this.hashCode = StringHelper.murmurhash3_x86_32(bytes, 0, bytes.length, StringHelper.GOOD_FAST_HASH_SEED);
}