mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-31 12:28:51 +00:00
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 #23096