Spell Correction w/ Fuzzy - How to get "we corrected your search for 'catts' to "cats" back from results to show user?

(Todd DeSantis) #1

Hi there,

I'm building an app and using fuzzy searching to auto-correct misspelled searched.
How do I get this info from ES:

A. spell corrected [true|false]
B. If A is true, both the original search term and the spell corrected one.

Thanks so much!

Kind Regards,
Todd DeSantis
Portland, ME

(system) #2