lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann-Erwan Perio <ye.pe...@gmail.com>
Subject Re: CustomScoreQuery + Collector + Scoring
Date Thu, 10 Jan 2013 12:03:53 GMT
On Thu, Jan 10, 2013 at 11:22 AM, Uwe Schindler <uwe@thetaphi.de> wrote:

Hi Uwe,

> The best way to do this ist o wrap the standard Lucene
> TopScoreDocCollector by your own collector (passing all
> calls to the collector also down to the top-docs collector).
> Then you don't have to take care of sorting the results, you
>  collector just does statistics.

This worked like a charm, and the resulting code is even neater - thanks a lot.

Kind regards,
Yep.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message