David Causse a49e1c0062 Use a fixed seed for computing term hashCode in TermsSliceQuery ()
I think this query should not use the hashCode provided BytesRef#hashCode().
It uses StringHelper#GOOD_FAST_HASH_SEED which is initialized in a static
block to System.currentTimeMillis().
Running this query on different replicas may return inconsistent results.

Using a fixed seed should guaranty that the docs are sliced consistently
accross replicas.

Fixes 
2017-03-30 10:10:32 +02:00
..
2017-03-27 15:57:54 +02:00