Re: BoostedQuery Performance

2009-05-11 Thread Guangwei Yuan
After spending more time on this, it seems more likely a problem from FunctionQuery. If using boost = log(100) takes 100ms, log(log(100)) adds another 100ms, log(log(log(100))) adds another 100ms, and so on. The time goes up almost linearly instead of being constant. Any ideas? Thanks,

Re: BoostedQuery Performance

2009-05-11 Thread Guangwei Yuan
Please ignore my posts. Log is quite expensive an operation... On Mon, May 11, 2009 at 11:45 AM, Guangwei Yuan guy...@gmail.com wrote: After spending more time on this, it seems more likely a problem from FunctionQuery. If using boost = log(100) takes 100ms, log(log(100)) adds another

BoostedQuery Performance

2009-05-09 Thread Guangwei Yuan
Hi, I'm trying the BoostQParserPlugin and FunctionQuery to enable query time boosting. It works better than bf (boost function) because it multiplies the relevancy score by the boosts. However I noticed significant performance issues with it. The more functions I use as boosts, the slower it