Access Source While Making Search Script



Is there a way to access ctx._source while making a query/aggregation? I can see here that it isn't supported in painless (it's only supported while updating by painless). However, according to this, groovy isn't much supported by now. Is there a workaround?

I have to access the _source because I have some nested documents which aren't very much access-able only by the doc_values.

(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.