Is it possible to pass 2 queries as params to a script

I want to compare the results of 2 queries.

Is it possible to do 2 queries in one go and pass the result from query 1
as a param 1 to a script and the result from the second query as param 2 to
the same script?

Thanks

--
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/c8d18165-eef2-409f-96bc-79f6a4803254%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hey,

no, this should be done on the client side instead of a script in
Elasticsearch.

--Alex

On Thu, Jul 10, 2014 at 6:08 PM, Adrian eamocanu@gmail.com wrote:

I want to compare the results of 2 queries.

Is it possible to do 2 queries in one go and pass the result from query 1
as a param 1 to a script and the result from the second query as param 2 to
the same script?

Thanks

--
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/c8d18165-eef2-409f-96bc-79f6a4803254%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/c8d18165-eef2-409f-96bc-79f6a4803254%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/CAGCwEM8bTr1yHQJu456HaLYSHXSebf4NxHr7tprtXk_tu5XBCA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.