[ 
https://issues.apache.org/jira/browse/LUCENE-1896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753383#action_12753383
 ] 

Mark Miller commented on LUCENE-1896:
-------------------------------------

The real problem with this, is that while it wants to pluggable, because the 
sumOfSquared scores is calculated in the Weight, its really not so pluggable.

The alg is not properly contained - this queryNorm is one divided by the square 
root of the sumOfSquared weights - but thats the whole norm. If you wanted to
replace it with one, you shouldnt still be doing sumOfSquaredWeights.

Perhaps its a compromise on a difficult piece (have not considered) - but 
technically its kind of off..

> Modify confusing javadoc for queryNorm
> --------------------------------------
>
>                 Key: LUCENE-1896
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1896
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Javadocs
>            Reporter: Jiri Kuhn
>            Priority: Minor
>             Fix For: 2.9
>
>
> See http://markmail.org/message/arai6silfiktwcer
> The javadoc confuses me as well.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to