lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1896) Modify confusing javadoc for queryNorm
Date Thu, 10 Sep 2009 02:13:57 GMT

    [ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message