Itamar - perfect, thanks very much!

On Sat, Feb 7, 2015 at 3:03 PM, Itamar Syn-Hershko <ita...@code972.com>
wrote:

>
> http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-preference.html
>
> --
>
> Itamar Syn-Hershko
> http://code972.com | @synhershko <https://twitter.com/synhershko>
> Freelance Developer & Consultant
> Lucene.NET committer and PMC member
>
> On Sat, Feb 7, 2015 at 9:15 PM, codemasterg <gtotsl...@gmail.com> wrote:
>
>> Hi -
>>
>> I am new to Elasticsearch and have what I hope is a basic question for a
>> simple configuration.  Assume I have 3 node cluster with a single index and:
>>
>>   - 1 primary shard
>>   - 2 replicas of the primary shard
>>
>> The majority of requests will be searches with relatively few index
>> updates.
>>
>> All requests are distributed by a network load balancer across the three
>> nodes.  Since each node has a copy of the index and the requests are being
>> spread across the cluster  by the network load balancer, my intuition is
>> that a local search (i.e. execute a search on the node that received the
>> request) will perform best.  In other words, I do not want Elasticsearch to
>> round-robin each search request from the node received to another node; I
>> want the node that received the request to search its local copy of the
>> index.
>>
>> My question: Is there a way for make Elasticsearch search against only
>> the shard on the node received (and avoid a network hop to another shard)?
>>
>> Thanks very much.
>>
>> --
>> 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 elasticsearch+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/elasticsearch/b4289cc5-7981-443f-a26c-569b271cda3a%40googlegroups.com
>> <https://groups.google.com/d/msgid/elasticsearch/b4289cc5-7981-443f-a26c-569b271cda3a%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "elasticsearch" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/elasticsearch/eDk_zSFZArk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> elasticsearch+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/CAHTr4Zvqw8CnzAYfMg7-zGnv-4tQ2izPAi8Bo1z8xDyHao7jHQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/elasticsearch/CAHTr4Zvqw8CnzAYfMg7-zGnv-4tQ2izPAi8Bo1z8xDyHao7jHQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> 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 elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CA%2BJa1jbP%2Bn4pKeYCce4e6Om%3DhvkSqP%3DZRx07JHQj1Frec0snhg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to