You don't store data in memory in ES, it is only pulled into memory when
querying.
For your queries, check out
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-preference.html

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.

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: [email protected]
web: www.campaignmonitor.com

On 10 October 2014 06:25, gaurav1906 <[email protected]> wrote:

> Hi,
>
> How can i achieve following.
>
>
> I have 5 nodes with 30GB RAM in it.
>
> 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.
>
> Thanks in Advance!!
>
>
>
> --
> View this message in context:
> http://elasticsearch-users.115913.n3.nabble.com/Cluster-Configuration-tp4064689.html
> Sent from the ElasticSearch Users mailing list archive at Nabble.com.
>
> --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/1412882727747-4064689.post%40n3.nabble.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAEM624bEupKL0n0eUt_SiO-qSSajdeZ67n%2B%3DG0VwRA_EXjg%3D4A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to