You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2009/09/07 23:48:57 UTC

[jira] Commented: (LUCENE-1896) Modify confusing javadoc for queryNorm

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

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

Suggestions? I am no IR guy.

It would appear to me that this component is simply the part where you convert the vectors to unit vectors. Or are you are just dividing by the product of the euclidean lengths - it appears to be the same in either case to me.

So it looks like we kind of factor that out as a constant (I barley understand myself too - don't worry) -

In which case, why do we need it? Is it just there as a reminent of the math? Yes, it will give us the sim measure as the cosine - by why do we care if its a scaled cosine (eg not the cosine, but the same *relative* scores) for less work? What do we need 1/(Sum(W^2))^1/2 for?  Seems like wasted calculations. Who is the academic that kept this in! ... :)

Actually, I don't have a clue if it makes sense to keep it or not. Or even whether or not I am talking out my ...

Wherefore art thou Doug Cutting.

> 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