Show which tokens were not found in full text search

Hello, beautiful community!
Is there a way to determine which words (tokens) in a phrase was or wasn't found during full text search. I need it to make something like Google does:

Under each query result it shows which part of phrase is missing, like: Missing: dragons . I didn't find anything helpful in the documentation, so I would appreciate any suggestion.

ES v.8.7

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