How to return the field name when "best_fields" matching mode is used?

When using "best_fields" multi-matching mode, how can I get the name of the field that produced that best scoring hit? Should I dig into "explain: true" object or there are easier ways?

I read docs, but couldn't find a solution to this rather simple question. Any help appreciated.

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