lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Szűcs Roland <szucs.rol...@bookandwalk.hu>
Subject AnalyzingInfixLookupFactory, Edgengramm with multiple terms
Date Fri, 20 Nov 2015 14:26:24 GMT
Hi all,

I have a working suggester compnenet and requesthandler in my Solr 5.2.1
instance. It is working as I expected but I need a solution which handles
multiple query terms "correctly".

I have string field title. Let's see the following case:
title 1: Green Apple Color
title 2: Apple the master of innovation
title 3: Apple the master of presentation.
Using Edgengramm minsize3 for the copy of the string title field I get the
following:
suggest.q=''Appl", all documents are matched , fine.

suggest.q=''Apple inno", all documents are matched, wrong as the user
expectation is to have only title 2 matched

Is there any way to make the suggester component smarter to handle multi
term queries as user expect. AnalyzingInfixLookupFactory was a great
improvement to handle terms not only from the beginning of the expressions
but from the middle or the end.

I think if we can apply "AND" relationship among the multi-terms query
match like in case of normal queries it can help.

Any idea is appreciated
-- 
<https://www.linkedin.com/pub/roland-sz%C5%B1cs/28/226/24/hu>Szűcs Roland
<https://www.linkedin.com/pub/roland-sz%C5%B1cs/28/226/24/hu>Ismerkedjünk
meg a Linkedin <https://www.linkedin.com/pub/roland-sz%C5%B1cs/28/226/24/hu>
-en <https://bookandwalk.hu/>ÜgyvezetőTelefon: +36 1 210 81 13Bookandwalk.hu
<https://bokandwalk.hu/>

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