No one didn't care of the topic, let me try in the solr-user list as well ! Does anyone think that should exist a parameter that allow a Suggester to not return duplicate suggestions ? In my opinion could be a good improvement ! In the initial patch i was acting at SolrJ level, but to be honest I think the enhancement should be done internally in Solr. let me know your opinion and I can proceed with a patch.
Cheers On 16 February 2016 at 16:19, Alessandro Benedetti <abenede...@apache.org> wrote: > It has been some time I was wondering why in a lot of scenarios we return > duplicates per suggestions. > Apart the rare scenarios where someone is associating a payload to each > suggestion, suggestions with the same label are practically > undistinguishable from a Human perspective. > I would suggest to add a configuration parameter for the component to > avoid duplicates when the parameter is true. > > I submitted a patch for SolrJ but now I think the problem should be solved > in the Solr core and the possibility of configuring the strategy given to > the user at Solrconfig level. > If you agree I will create a new specific Jira issue to solve the problem > in Solr itself. > > SolrJ patch > https://issues.apache.org/jira/browse/SOLR-8672 > > Cheers > > -- > -------------------------- > > 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 > -- -------------------------- 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