lucene-dev mailing list archives

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


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

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:
For additional commands, e-mail:

View raw message