I think you should solve that on application level.
Though could this help? 
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-named-queries-and-filters.html#_named_queries

Still, you have to record that somewhere.

Not sure I helped... :(

David

> Le 19 nov. 2014 à 11:58, [email protected] a écrit :
> 
> Dear community,
> 
> 
> I am looking for a feature which allows to attach requestId to the commands 
> that my app is passing to the elasticsearch. It is because of our client 
> requirements regarding ability to track user requests through all system 
> components. After quick look into java api I do not see any possibility to 
> put additional field with requestId to the query builder. Can you confirm 
> that? What do you suggest to do then? Would it be easier to write 
> elasticsearch plugin adding this feature or should we just do some dirty 
> hacks like modifying query to contain request id but in the way that it will 
> not affect returned hits.
> 
> Best regards,
> Krzysztof 
> -- 
> 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/elasticsearch/7d73dabc-a274-4488-bf03-709d41c37ccd%40googlegroups.com.
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/D41A5CEF-9CB2-4DC8-AF3B-A87F813CC2E3%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to