thetaphi.de
eMail: u...@thetaphi.de
-Original Message-
From: Dominika Puzio [mailto:dominika.pu...@gmail.com]
Sent: Tuesday, February 21, 2012 10:27 AM
To: java-user@lucene.apache.org
Subject: Re: Question about CustomScoreQuery
Thanks for your answer. I checked what explain() says ab
ne.apache.org
> Subject: Re: Question about CustomScoreQuery
>
> Thanks for your answer. I checked what explain() says about my queries,
and:
>
> MatchAllDocsQuery:
> 1.0 = (MATCH) MatchAllDocsQuery, product of:
>1.0 = queryNorm
>
> FieldScoreQuery:
> 0.5 = (MATCH) float
Thanks for your answer. I checked what explain() says about my queries, and:
MatchAllDocsQuery:
1.0 = (MATCH) MatchAllDocsQuery, product of:
1.0 = queryNorm
FieldScoreQuery:
0.5 = (MATCH) float(ratio), product of:
0.5 = float(ratio)=0.5
1.0 = boost
1.0 = queryNorm
CustomScoreQuery:
0.24
I can't explain this. Can you get at an oal.search.Explanation? You
could write your own CustomScoreProvider - that might help you to
double check what is being passed to it, and/or allow you to provide
your own calculation.
--
Ian.
On Thu, Feb 16, 2012 at 8:32 PM, Dominika Puzio
wrote:
> He