Re: CustomScoreQuery + Collector + Scoring

2013-01-10 Thread Yann-Erwan Perio
On Thu, Jan 10, 2013 at 11:22 AM, Uwe Schindler 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 resul

RE: CustomScoreQuery + Collector + Scoring

2013-01-10 Thread Uwe Schindler
> I am using Lucene 4.0.0, trying to put together a CustomQuery and a > Collector, and have a problem with the calculation of scores. > > My context is as follows. I have a big BooleanQuery which works fine, but I > also want to calculate some statistics during the search (i.e. > perform aggregati

CustomScoreQuery + Collector + Scoring

2013-01-10 Thread Yann-Erwan Perio
Hello, I am using Lucene 4.0.0, trying to put together a CustomQuery and a Collector, and have a problem with the calculation of scores. My context is as follows. I have a big BooleanQuery which works fine, but I also want to calculate some statistics during the search (i.e. perform aggregation o