[
https://issues.apache.org/jira/browse/LUCENE-5245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13778093#comment-13778093
]
Nik Everett commented on LUCENE-5245:
-------------------------------------
The query norm applied to the constant score query changes. Say I had a query
string like "foo:findm*^20 bar:findm*" and only foo had a result on shard 1 and
only bar had a result shard 2. Both end up with the same score because on
shard one the query is rewritten to "foo:findm*^20" (norm = .05) and
"bar:findm*" (norm = 1).
> ConstantScoreAutoRewrite rewrites prefix queryies that don't match anything
> before query weight is calculated
> -------------------------------------------------------------------------------------------------------------
>
> Key: LUCENE-5245
> URL: https://issues.apache.org/jira/browse/LUCENE-5245
> Project: Lucene - Core
> Issue Type: Bug
> Affects Versions: 4.4
> Reporter: Nik Everett
>
> ConstantScoreAutoRewrite rewrites prefix queryies that don't match anything
> before query weight is calculated. This dramatically changes the resulting
> score which is bad when comparing scores across different Lucene
> indexes/shards/whatever.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]