Hi Roland,
I agree with you, I updated the Jira issue and I will spend some more time
on that.
I think the best solution should be Solr core side, I will sort out some
proposal, that we can discuss ( probably I will use the related spin off
Jira issue, linked in : https://issues.apache.org/jira/browse/LUCENE-6336

On 12 March 2016 at 08:10, Roland Szűcs <roland.sz...@booknwalk.com> wrote:

> Hi all,
>
> I think nobody can question that this configuration parameter is
> neccessary. Most of the use cases need distinct values.
>
> I use solr 5.2.1 for an ebook store. I use the suggester component for
> autocomplete titles, authors, publishers. Some of our publishers have
> thousand of ebooks.
>
> In theese cases I got back a json with thousands of identical cases which
> obviously not what I want.
>
> Cheers,
> Roland Szucs
>
>
> 2016. márc. 11. dátummal, 17:46 időpontban Alessandro Benedetti <
> abenede...@apache.org> írta:
>
> > 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
>



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

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