Query Statistics

is there a way to get statistics for each query term?

For each document a hitlist of terms from the query and in which field.
Hightlight comes close, but it gives the stammed(hunspell) hits back and not the terms of the query.

A summery how much hits each term of the query has.

The 1. goal is to mark the terms in the queryfield in our application when someone selects a document.
The 2. goal is to give the user a way for query optimizing so that he can see how much documents every term hits.


No idea?

Is this related to Workplace Search or App Search ?

Sorry for the delay.

Its for our own search site that uses elastic.
This would enable useful telemetrie for our users.