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, 21 Jun 2009 15:50:07 GMT


Johan Kindgren updated LUCENE-1260:

    Attachment: Lucene-1260.patch

Removed 'static' keyword to enable a pluggable behavior for encoding/decoding norms. Our business-case
for this is to fix scoring when using NGrams. If a word is split into three parts, the norm
for these parts would then become ~0.3125 (don't remember exactly) in the current implementation.
A search for the exakt same word would then generate a score of less than 1.0. With a pluggable
norm-calculation, we could use a norm-table with values 0-100 and get a better scoring.

Minor changes in 11 core-classes and some tests. Also minor changes in analyzers, instantiated,
memory and miscellaneous.

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