lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pieter Berkel" <>
Subject Re: Return only one result per results group
Date Wed, 25 Jul 2007 23:50:28 GMT

It sounds like what you are trying to do is implemented in a new feature
known as "Field collapsing" (see for more info). Unfortunately
it isn't quite mature enough to be included in the main distribution so in
order to try it out you'll probably need to obtain the latest solr source
code from svn trunk, apply the patch " SOLR-236-FieldCollapsing.patch" from
the above URL and compile it yourself.

If you do choose to do this, you might find some information on this wiki
page helpful:


On 26/07/07, Debra < > wrote:
> Is there a way to receive only one result for each group of search results
> depending on a specified group field.
> Example:
> Searching a list of  articles with author as the group field would return
> articles that match the query but will return only one article per author
> even if the author has more then one article matching the query.
> Thank you
> --
> View this message in context:
> Sent from the Solr - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message