I want to create Index with 5 shards and 1 replica.
I want all primary shards to be in memory and replica on disk.
Also, i want to disable search against replica. So, when user search query goes against shards in memory. Only in disaster situation queries goes to replica.
You don't store data in memory in ES, it is only pulled into memory when
querying.
For your queries, check out
Not sure what you are thinking about DR here, but if the primary shard
disappears (ie the node it runs on dies), then the replica is promoted to
primary, which makes your point moot.
I want to create Index with 5 shards and 1 replica.
I want all primary shards to be in memory and replica on disk.
Also, i want to disable search against replica. So, when user search query
goes against shards in memory. Only in disaster situation queries goes to
replica.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.