elasticsearch - Extract the words used by a fuzzy query -


i use fuzzy query in elasticsearch , works fine.

for example, if search dogs , _source had word dog correct document, don't know word dog used result.

if _source had 10 000 words, how can find query found dog? have idea find words scored result ?

i find solution adding : "highlight": { "fields" : { "myfields" : {} }

i find exact position of hits


Comments