no longer allows to add replies.. (nor to re-open it) .
I'm not satisfied with this setting, given @DavidTurner's answer:
single-node
is the only permitted value fordiscovery.type
. The only other option is not to set it at all.
How would one 'script' it (or make an 'env variable' value) in elasticsearch.yml?
Would be good to be able to run a node in two modes: if this setting has only one possible value it should not be called 'type', but rather
discovery.single_node_mode: true
(and default it to false)
QUestion: if in elasticsearch.yml I use:
discovery.type: ${ES_DISCOVERY_TYPE}
and then I run it with either:
ES_DISCOVERY_TYPE set to 'single-node', or not set at all => will it be okay (and valid) to run ith with empty value?
And you should consider deprecating this setting and adding such a flag instead really..
THanks,
Lukasz.