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

Popular posts from this blog

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -