Question about accessing index statistics in ElasticSearch 5.4.0

Hi all,

I want to make sure my understanding is correct. In ES 5.4.0, the only way to access index statistics in scripts is to write a custom ScriptEngine which can only be written in Java. If that is the case, I want to further ask whether there is a way to force the usage of Groovy in ES 5.4.0 assuming it has not been completely deleted.

Thanks.

I checked and I can force the usage of Groovy. Just curious how I can use painless to access the index statistics such as term frequency in a document.

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