I installed Elasticsearch with 1 cluster 4 nodes. The number of fragments per index: 1; Number of replicas per index: 3
When I call a simple query, for example, the following one time, I get different results (different general hits and different top 10 documents):
http:
Different data for each shard? I like that I have all the fragments. What can I do?
This is the result of / _cluster / health:
{ "cluster_name" : "secret", "status" : "green", "timed_out" : false, "number_of_nodes" : 4, "number_of_data_nodes" : 4, "active_primary_shards" : 24, "active_shards" : 96, "relocating_shards" : 0, "initializing_shards" : 0, "unassigned_shards" : 0 }
As a workaround, I am rebuilding the index using the Ruby gem bus: ModelName.rebuild_index
But I need a long-term solution.
elasticsearch
Murdoch
source share