29 aug 2007 kl. 12.29 skrev Per Lindberg:
how about using a RangeQuery and pick the hit with the
greatest document number?
Yep, that did the trick! There seems to be no Filter that can do
the final picking of the highest date, so I had to do that after the
search.
I use IndexSearcher.search with a RangeFilter,
I presume that's just as efficient as a RangeQuery?
It depends, espescially on how you use reuse the filter.
Benchmark to be sure
--
kalle
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]