I've implemented this for the second time, so it is probably time to contribute 
it. I find it really useful.

I've extended the query spec parser for edismax to also accept a tilde and to 
generate a FuzzyQuery. I used this at Netflix (on 1.3 with dismax), and 
re-implemented it for 3.3 here at Chegg. We've had it in production for nearly 
a year. I'll need to re-port this as part of our move to 4.x.

Here is what the spec looks like. This expands to a fuzzy search on title with 
a similarity of 0.75, and so on.

       <str name="qf">title~0.75^4 long_title^4 title_stem^2 author~0.75</str>

I'm not 100% sure I understand the spec parser in edismax, so I'd like some 
review when this is ready. I'd probably only do it for edismax.

See: https://issues.apache.org/jira/browse/SOLR-629

wunder
--
Walter Underwood
wun...@wunderwood.org
Search Guy, Chegg.com

Reply via email to