lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johan Kindgren (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1260) Norm codec strategy in Similarity
Date Sun, 22 Nov 2009 19:14:39 GMT

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

Johan Kindgren updated LUCENE-1260:
-----------------------------------

    Attachment: Lucene-1260-2.patch

I've added the old static methods again, but made them deprecated.

In contrib/misc there is still a reference to the static encodeNorm method, maybe that should
be replaced with Similarity.getDefaultSimilarity().encodeNormValue(f)? This call to the static
method is only done if no similarity is passed to the FieldNormModifier.

I added a short javadoc description to the static methods, not sure if that is enough? (I
guess they will be removed, so the relevant javadoc is probably in the instance methods?)

> Norm codec strategy in Similarity
> ---------------------------------
>
>                 Key: LUCENE-1260
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1260
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>    Affects Versions: 2.3.1
>            Reporter: Karl Wettin
>            Assignee: Michael McCandless
>             Fix For: 3.1
>
>         Attachments: Lucene-1260-1.patch, Lucene-1260-2.patch, Lucene-1260.patch, LUCENE-1260.txt,
LUCENE-1260.txt, LUCENE-1260.txt
>
>
> The static span and resolution of the 8 bit norms codec might not fit with all applications.

> My use case requires that 100f-250f is discretized in 60 bags instead of the default..
10?

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