lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Student 1 <student.trh...@gmail.com>
Subject Re: Suggester and fuzzy/infix suggestions
Date Wed, 28 Jun 2017 19:06:09 GMT
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 <wunder@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
> wunder@wunderwood.org
> http://observer.wunderwood.org/  (my blog)
>
>
> > On Jun 28, 2017, at 9:47 AM, Student 1 <student.trhp.1@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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message