Re: sub-scores for all clauses in a BooleanQuery

2009-04-28 Thread Chris Hostetter
: I've also tried getting the scores by walking the clauses of the : BooleanQuery, but that doesn't seem to work either, because the : queryNorm is off. For example, here's an original explanation for a : 3-clause query, where one clause doesn't match: a simple solution would be to eliminate the

sub-scores for all clauses in a BooleanQuery

2009-04-17 Thread Steven Bethard
I have a BooleanQuery with several clauses. After running a search, in addition to seeing the overall score of each document, I need to see the sub-score produced by each clause. When all clauses match, this is relatively easy to get back by ".explain(...)", which gives me something like this: 0.3