Yes, but it is better than nothing. Don’t let the unavailable perfect solution 
keep you from implementing the available good solution.

If you want to easily use fuzzy search with edismax, check out the patch 
submitted with SOLR-629.

wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/  (my blog)


> On Jun 28, 2017, at 12:06 PM, Student 1 <student.trh...@gmail.com> wrote:
> 
> I thought about that - but that does not solve the issue. If the user types
> in a misspelled word, and that word is somewhere in the middle of the
> field, that result will not be returned.
> 
> 2017-06-28 19:00 GMT+02:00 Walter Underwood <wun...@wunderwood.org>:
> 
>> I set up two suggesters, one fuzzy and one analyzing infix. That gives two
>> sets of suggestions, so the client code has to merge them into one list and
>> toss duplicates.
>> 
>> They use the same weights, so I can keep the top weighted suggestions.
>> 
>> wunder
>> Walter Underwood
>> wun...@wunderwood.org
>> http://observer.wunderwood.org/  (my blog)
>> 
>> 
>>> On Jun 28, 2017, at 9:47 AM, Student 1 <student.trh...@gmail.com> wrote:
>>> 
>>> Hi,
>>> 
>>> I'm trying to implement suggestions mechanism using Solr Suggester
>>> component, that would work like this:
>>> 
>>> - look inside of the field (like AnalyzingInfixLookupFactory does) AND
>>> - allow for minor spelling mistakes (like FuzzyLookupFactory does).
>>> 
>>> Is it at all possible? It looks to me, like you can only get one
>> behaviour
>>> - either look inside the field and require strictly correct spelling, OR
>>> allow for typos but match only beginning of the field.
>>> 
>>> Regards,
>>> Piotr
>> 
>> 

Reply via email to