Hi John, This sounds a lot like field collapsing functionality that a few people are working on in SOLR-236:
https://issues.apache.org/jira/browse/SOLR-236 Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: John Martyniak <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Wednesday, December 10, 2008 6:16:21 PM > Subject: Sum of Fields and Record Count > > Hi, > > I am a new solr user. > > I have an application that I would like to show the results but one result > may > be the part of larger set of results. So for example result #1 might also > have > 10 other results that are part of the same data set. > > Hopefully this makes sense. > > What I would like to find out is if there is a way within Solr to show the > result that matched with the query, and then to also show that this result is > part of a collection of 10 items. > > I have thought about doing it using some sort of external process that runs, > and > with doing multiple queries, so get the list of items and then query against > each item. But those don't seem elegant. > > So I would like to find out if there is a way to do it within Solr that is a > little more elegant, and hopefully without having to write additional code. > > Thank you in advance for the help. > > -John