: Can someone point to or provide an example of how to incorporate a
: custom hitcollector when using Solr?
this is somewhat hard to do in non trivial ways because you would need to
by-pass a lot of hte Solr code that builds up DocLists and DocSets ...
if however you don't need eith
Hi
Can someone point to or provide an example of how to incorporate a custom
hitcollector when using Solr?
Thanks
Ron
Is there a way to hook in my own custom HitCollector into the search
process and still have all the magic of Solr? I see from [1] that
someone else is interested in something like this, just don't know if
anything came of it. Worst case, I could hook in my HitCollector and
sacrific
: But somehow this "add an additional parameter everywhere" doesn't sound
it's certianly not a pretty solution, it's just the most general one i
could think of at the time.
: right. I wish I could write my own WeightedSolrIndexSearcher that
: extends SolrSearcher and call some hook methods from
ter <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Sent: Wednesday, May 2, 2007 3:14:23 PM
Subject: Re: Custom HitCollector with SolrIndexSearcher and caching
: I feel like I might be missing something, and there is in fact a way to
: use a custom HitCollector and benefit from caching, b
: I feel like I might be missing something, and there is in fact a way to
: use a custom HitCollector and benefit from caching, but I just don't see
: it now.
I can't think of any easy way to do what you describe ... you can always
use the low level IndexSearcher methods wit
caching and
other goodness in there. From what I can tell so far, there is no way I can
pass my custom WHCollector to any of the SISearcher methods and benefit from
caching.
I feel like I might be missing something, and there is in fact a way to use a
custom HitCollector and benefit from ca