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] Updated: (LUCENE-1907) sumOfSquared weights should be calculated as part of queryNorm
Date Fri, 11 Sep 2009 00:01:57 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Miller updated LUCENE-1907:
--------------------------------

    Attachment: LUCENE-1907.patch

fix a test and improve a bit

> sumOfSquared weights should be calculated as part of queryNorm
> --------------------------------------------------------------
>
>                 Key: LUCENE-1907
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1907
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Priority: Minor
>         Attachments: LUCENE-1907.patch, LUCENE-1907.patch
>
>
> see the related issue for comments.
> its a bummer - doesn't look like we have time to address this, but its the best release
for it - back compat requires the reflection stuff that Similarity already has (and we hope
to remove next release). It would suck to have to hold onto it - so it seems unlikely we will
do this at a later time.
> The idea is that the sumOfSquaredWeights computation should be specific to the queryNorm
impl - so the queryNorm should accept the Weight instead, and if its using the euclidean distance
formula, it can do the sumOfSquared calculations - but if its doing another normalization,
these can be skipped (in each termweight, booleanweight, etc). Right now you pay for sumOfSquared
no matter what, and the logic separation is a little off.

-- 
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