Using an explain query, I'm seeing a drastic difference in the docFreqs between a query with preference for
_primary vs one for
The index is restored from a snapshot from a 5.4.3 cluster to a 6.8.6 cluster.
I've tried three approaches:
- restoring the index with 0 replicas and then replicating
- force merging & expunging deletes for the restored index and then re-replicating
- reindexing from the restored index to a new index and then replicating
but nothing seems to sync the statistics between the primary and the replica.. This leads to shifting results depending on which type of shard the request lands on (primary vs replica).
Has anybody experienced this or know how to sync the statistics between the primary and replica?