How to log information of top documents in Elasticsearch

We have an ES based system in which we use a native java plugin to score and rank documents. We need to log some attributes of the documents that are returned to the client for machine learning model training. Is that possible to do the logging on the coordinate node only for the final top N documents that are returned?

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