Re: Retrieve unique documents on a non id field

2012-11-08 Thread Indika Tantrigoda
Hi, Thanks for the reply. Yes, I grouped the documents based on the restaurant_id and got 1 result per group. Setting the group.format to simple helped with the formatting. Thanks, Indika On 8 November 2012 12:10, Rafał Kuć wrote: > Hello! > > Look at the field collapsing functionality - > htt

Re: Retrieve unique documents on a non id field

2012-11-07 Thread Rafał Kuć
Hello! Look at the field collapsing functionality - http://wiki.apache.org/solr/FieldCollapsing It allows you to group documents based on field value, query or function query. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch > Hi All, > Curren