What is the correct _primary_first syntax? What is the relevant debug logger?

Hello,

What is the correct syntax of using _primary_first in search and search
template queries?

GET myindex/_search/template?preference=_primary_first

or

GET myindex/_search/template?routing=_primary_first

Is there any verbose mode that can log the list of shards that were
actually accessed?

thanks,
Itai

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6f6d44a0-f689-4168-85cf-574610f73155%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

?preference=_primary_first

see

No verbose mode at the moment

--

Itamar Syn-Hershko
http://code972.com | @synhershko https://twitter.com/synhershko
Freelance Developer & Consultant
Lucene.NET committer and PMC member

On Mon, Apr 27, 2015 at 8:53 AM, Itai Frenkel itaifrenkel@live.com wrote:

Hello,

What is the correct syntax of using _primary_first in search and search
template queries?

GET myindex/_search/template?preference=_primary_first

or

GET myindex/_search/template?routing=_primary_first

Is there any verbose mode that can log the list of shards that were
actually accessed?

thanks,
Itai

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/6f6d44a0-f689-4168-85cf-574610f73155%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/6f6d44a0-f689-4168-85cf-574610f73155%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 the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAHTr4ZsgOPJqY2dB1A_jytn5EwxoJo5Lkjp9BMWr%3DFHT9o-b3g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.