We are using Elasticsearch mainly as cache, for getting fast results. Currently, we have all the default settings which I think is 1 replica per shard.
Should I change this setting to 0? Are replicas just for data recovery or does it also affect performance/functionality?
We don't care much about data loss since we often use the
curl -X DELETE http://elasticsearch:9200/_all command.