Hello! Try the grouping feature of Solr - http://wiki.apache.org/solr/FieldCollapsing . You can collapse documents based on the field value, which would be a shop identifier in your case.
-- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch > I have the Hi all, > I have the following schema > offer: > - offer_id > - offer_title > - offer_description > - related_shop_id > - related shop_name > - offer_price > Each offer is related to a shop. > In one shop, we have many offers > I would like show in one page (26 offers) only one offer from a shop. > I need help to implement this feature. > Thanks > -- > View this message in context: > http://lucene.472066.n3.nabble.com/select-one-document-with-a-given-value-for-an-attribute-in-a-single-page-tp4016679.html > Sent from the Solr - User mailing list archive at Nabble.com.