Hi John,
What is your process for determining that #1 is part of the other
result set? My gut says this is a faceting problem, i.e. #1 has a
field contain its "category" that is also shared by the 10 other
results, and that all you need to do is facet on the "category" field.
The other thing that comes to mind is More Like This:
http://wiki.apache.org/solr/MoreLikeThis
-Grant
On Dec 10, 2008, at 6:16 PM, John Martyniak wrote:
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
--------------------------
Grant Ingersoll
Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ