lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Szűcs Roland <>
Subject allTermsRequired not working for me with suggester
Date Wed, 08 Apr 2020 13:47:31 GMT
Hi folks,

I have allTermsRequired=true defined in the suggester component. Despite of
this if I run the following query:

I get back the following result (it is only a snipet from the result):
{ "term":" Tardy <b>János</b>", "weight":0, "payload":""}, {
<b>János</b>", "weight":0, "payload":""}, { "term":"<b>Arany</b>
László", "

I expected only the second one.

How can I make suggestions for multi term queries if I would like all query
terms to be found in the matched document? The typical use case is that a
user has already typed in some terms fully and the last one partially.  (I
do not want to use terms component here because it is difficult to deal
with on the client side. The user can edit any parts of his multi term
expression and it is not trivial with javascript to find out which term
should be queried)


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