Hi,
I am running some template search queries on 1.4.2 via Java APIs like so:
esClient.prepareSearch(index)
.setTemplateName(templateName)
.setTemplateParams(templateParams)
.setTemplateType(ScriptService.ScriptType.INDEXED)
When I log the request, I get an empty json object. Is it possible to dump
the the actual evaluated query from the node client? I dug through the code
and it looks to me the template is evaluated in SearchService.java, but
didn't see a clean way to extract that out.
I am pretty sure I can logs this out server side, but was hoping to get
this info from the caller.
Thanks!
Paul
--
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/89dabe98-60b6-47b1-a95a-3a4782445766%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.