Short-circuit in bool query?

Hello,

I would like to know if I send a bool query like

{

"bool": {

"must": [

{

"term": { "user" : "john" }

},

{

"term": { "age" : 19 }

}

]

}

}

is the 2nd query (i.e. "age":19 ) only executed on documents that matches
the 1st query? If not, can I have the same effect using other query types?
Thank you.

--
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/e48e0d77-82f2-4660-8dd9-d3a5dacd1868%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

+more description

What we concerned is the search performance. In our case, user may send a
bool query containing 5 or more match_phrase queries. If each match_phrase
executes independently, the search performance will be extremely slow. We
would like to have a way to short-circuit this. Thank you.

--
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/1b52723e-668a-420c-95eb-c27223665e60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

I'm also interested in this. If there's a way to do this, it would be
pretty cool.

--
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/a0ebb9e2-7ae4-475c-ad9d-577ad22d9db3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.