Related this, I just created this :
https://issues.apache.org/jira/browse/SOLR-8672

To be fair, I see no utility in returning duplicate suggestions ( if they
have no different payload, they are un-distinguishable from a human
perspective hence useless to have duplication) .
I would like to hear some counter example.
In my opinion we should contribute a way to avoid the duplicates directly
in Solr.
If there are valid counter examples, we could add an additional parameter
for the solr.SuggestComponent like <allowDuplicates> boolean
<allowDuplicates> .
In a lot of scenarios I guess it could be a good fit.
Cheers

On 5 August 2015 at 12:06, Nutch Solr User <nutchsolru...@gmail.com> wrote:

> You will need to call this service from UI as you are calling suggester
> component currently. (may be on every key-press event in text box). You
> will
> pass required parameters too.
>
> Service will internally form a solr suggester query and query Solr. From
> the
> returned response it will keep only unique suggestions from top N
> suggestions and return suggestions to UI.
>
>
>
> -----
> Nutch Solr User
>
> "The ultimate search engine would basically understand everything in the
> world, and it would always give you the right thing."
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/multiple-but-identical-suggestions-in-autocomplete-tp4220055p4220953.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
--------------------------

Benedetti Alessandro
Visiting card : http://about.me/alessandro_benedetti

"Tyger, tyger burning bright
In the forests of the night,
What immortal hand or eye
Could frame thy fearful symmetry?"

William Blake - Songs of Experience -1794 England

Reply via email to