I'm playing with the terms lookup feature (https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-query.html#query-dsl-terms-lookup) which suggests my lookups index should be on all nodes.
If I
- have auto_expand_replicas set to 0-all
- run more then 1 node per host
- use a method that prevents the same shard on the same host (such as cluster.routing.allocation.same_shard.host)
my cluster will now never go green and never have that lookups index on all nodes.
[NO(the shard cannot be allocated on host address [10.10.10.10], where it already exists on node [XXXXXXXXXXXXXXXX]
Is there a work around so that this index breaks the rule and really is on all nodes? Since the indices that I will be searching against using this lookup are on all nodes, it would be great if lookups was too. Maybe I need a 0-allNodesReally feature?
Thanks!