Hi Thanks for the response. I didn't explain myself well, I am using the field collapsing and things are working as that page describes.
I think my problem is that as well as field collapsing works, solr is still just returning a list of documents. There don't seem to be any operations I can do on collapsed groups as a whole. They are more of a display thing that can't be referenced in the query. Same thing with facets? Am I right in this? steve thansk again steve On Jan 22, 2011, at 12:53 AM, Otis Gospodnetic wrote: > Steve, > > Does http://wiki.apache.org/solr/FieldCollapsing do what you need? > > Otis > ---- > Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch > Lucene ecosystem search :: http://search-lucene.com/ > > > > ----- Original Message ---- >> From: Steve Fuchs <st...@aps.org> >> To: solr-user@lucene.apache.org >> Sent: Fri, January 21, 2011 3:05:32 PM >> Subject: searching based on grouping result >> >> Hello All, >> >> MY index documents represent a set of papers each with an author id and the >> id >> of the referee that reviewed the paper. >> >> I also end up with a field in each document that tells me whether the >> referee >> still has the paper, but has not graded it. THis can be a boolean. >> >> In my final result I want to collapse the result by referee number and omit >> any referee that has this boolean true, it doesn't matter how many >> documents >> they have with the field set to false. >> >> Is there a way to set my query to honor the results of the grouping (or of >> a >> facet?) as in q: -referee_number.open_flag:* >> >> ? >> >> >> Thanks in advance. >> >> steve >