Oops. https://issues.apache.org/jira/browse/SOLR-629 —wunder
> On Aug 27, 2024, at 11:40 AM, Walter Underwood <wun...@wunderwood.org> wrote: > > I’m retired and not working on Solr all the time, but there are two things I > didn’t finish that should be picked up. I’m not going to do these, I’ve got > plenty of retirement stuff to do. > > The first is SOLR-629, probably the oldest open feature request and a good > first project for someone. This adds support for fuzzy search to the edismax > query parser. The external impact is tiny, the qf config just says “title~” > instead of “title”. > > The most recent patch is for 4.x. It doesn’t apply 100% to the current code > (more like 50%), but it should be fairly easy to figure out the needed mods. > > This should be a nice project for a first-time contributor, because it is > localized to the edismax parse. That is spread out a bit, but not too bad. > Besides, who gets to work on a three-digit Jira issue? > > Two notes: > > 1. You’ll get the urge to rewrite the whole damned edismax config parser with > a real parser generator. Resist that and just make the change. > 2. It isn’t possible to have a higher boost for an exact match and a lower > boost for a fuzzy match because it only handles one config spec per field > name. And it doesn’t throw an error for the second time, either. It really > should handle “title^4 title~^2”. The workaround is to make a copy of the > title field. Maybe that should be a separate Jira issue? > > wunder > Walter Underwood > wun...@wunderwood.org > http://observer.wunderwood.org/ (my blog) >