RE: Help Overriding behavior in BooleanQuery scorer

2010-12-07 Thread Ryan Aylward
way to do that to make a copy of the classes? -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Tuesday, December 07, 2010 4:57 AM To: java-user@lucene.apache.org Subject: Re: Help Overriding behavior in BooleanQuery scorer I haven't a clue about the pac

Re: Help Overriding behavior in BooleanQuery scorer

2010-12-07 Thread Erick Erickson
I haven't a clue about the package protected thing, but you may not need to go there. This sounds a lot like DisjunctionMaxQuery, have you looked at it? http://lucene.apache.org/java/3_0_2/api/all/index.html Best Erick On Tue, Dec 7, 2010 a

Help Overriding behavior in BooleanQuery scorer

2010-12-06 Thread Ryan Aylward
I would like to customize the scoring of the BooleanQuery. The scoring for Boolean queries sums together each clause. Rather than summing together each clause, I would like to take the max score of any of the clauses. Ideally, I would like to inherit from BooleanScorer and BooleanScorer2 and ma