According to lucene documentation I'm getting proper results with the following approaches:
term:foo~1means a fuzzy search on a wordfooallowing room for 1 errorterm:"foo bar"~1means thatfooandbarshould be within 1 word of each other in order for search to produce any meaningful result (e.g. search will matchfoo me bar)
Question: is there a way to query lucene so that term:"foo bar"~1 means that it's a fuzzy search and token foo bar as a whole is allowed 1 error in it?
If it's of any help, I am using standard analyzer on the term field