David, Thanks for your reply.
Group cannot solve the issue. We also need run facet and stats based on search result. With group, facet and stats result still count duplicate. Thanks, Yongtao -----Original Message----- From: David Santamauro [mailto:david.santama...@gmail.com] Sent: Tuesday, September 27, 2016 11:35 AM To: solr-user@lucene.apache.org Cc: david.santama...@gmail.com Subject: Re: how to remove duplicate from search result Have a look at https://cwiki.apache.org/confluence/display/solr/Result+Grouping On 09/27/2016 11:03 AM, googoo wrote: > hi, > > We want to provide remove duplicate from search result function. > > like we have below documents. > id(uniqueKey) guid > doc1 G1 > doc2 G2 > doc3 G3 > doc4 G1 > > user run one query and hit doc1, doc2 and doc4. > user want to remove duplicate from search result based on guid field. > since doc1 and doc4 has same guid, one of them should be drop from > search result. > > how we can address this requirement? > > Thanks, > Yongtao > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/how-to-remove-duplicate-from-search > -result-tp4298272.html Sent from the Solr - User mailing list archive > at Nabble.com. >