On Fri, Feb 13, 2009 at 12:24 PM, Karl Wettin <karl.wet...@gmail.com> wrote: > > I pass a rather large amount of OR clauses to Solr, ending up with lots and > lots of results. It's however only the results above a certain score > threadshold that is interesting for me, thus I'd like to only get facet > count of the results within the threadshold. How can I do that?
I've been browsing the Solr code and it looks like quite a bit of work to modify the facet handler to get it working with scores. Perhaps the simplest way is to limit my result set right after hit collection. My idea is that the facet counting would only be away of the documents within my threadshold. Or is the facet counting using an alternative query and hit collection than what produced the results? However I can't seem to find the class where any of this takes place.. Is it QueryComponent? Also, as my threadshold is based on the distance in score between the first result it sounds like using a result start position greater than 0 is something I have to look out for. Or? karl