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