Could one not write a custom request action for this sort of stuff?
This is not currently pluggable, so one would have to modify and rebuild
ES, but it could be done, no?
Search Analytics - http://sematext.com/search-analytics/index.html
Performance Monitoring - http://sematext.com/spm/index.html
On Wednesday, November 7, 2012 5:34:33 AM UTC-5, Chris Male wrote:
So what you're hoping to avoid is returning the user settings from the
first query only to send have to send them again as a second query?
Unfortunately ElasticSearch doesn't provide functionality for this (I was
thinking maybe using scripting however it doesnt provide the necessary API).
If you're able to provide a little more information we might be able to
see where optimizations can be made.
On Wednesday, November 7, 2012 7:48:39 PM UTC+11, Eugene Nikolaev wrote:
Hi! Is it possible in elastic to make one request with two linked queries
- so a first one returns some values and second one uses these values as
parameters? For example - search for users based on some input parameters
and current user's settings. Settings could be very large and they'd better
stay in elastic than be specified in each request body. Is it possible?