). That way, you bypass all the search logic.
But a simpler way might be ConstantScoreQuery.
But first I'd just try a HitCollector, possibly with a
ConstantScoreQuery and then.
But, again, what leads you to believe that performance is
not adequate yet? What is your target?
Best
Erick
On Mon,
2000 hits" taking "well over a minute" is unacceptable?
After all, that's 2,000,000 documents you're analyzing. A minute
seems reasonable. What problem are you *really* trying to solve? or
is this just a load test?
Best
Erick
On Mon, Apr 14, 2008 at 10:17 AM, Chris McGe
each
document.
Assuming that I need to gather all result documents each time, what are
the advantages of using a HitCollector over Hits?
Is there some way that I can load the index portion of the lucene data
storage into RAM without loading everything into a RAMDirectory?
Thanks,
Chris McGee
&
based on frequency or weights I need to retrieve all of the results
anyway.
Any help with this would be great.
Thanks,
Chris McGee