Is there a way to define a query in that way that a search result contains only one representative of every set of documents which are equal on a given field (it is not important which representative document), i.e. to have the DINTINCT ON-concept from relational databases in Solr?

If this cannot be done with the search API of Lucene, may be one can use Solr server side hooks or filters to achieve this? How?

The reason why I do not want to do this filtering manually, is, because I want to have as many matches as possible with respect to my defined result limit for the query (and filtering the search result on client side may really kick me off from this limit far away).

Thanks..

Reply via email to