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

Johan Kindgren edited comment on LUCENE-1260 at 6/21/09 8:54 AM:
-----------------------------------------------------------------

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

      was (Author: johkin):
    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: https://issues.apache.org/jira/browse/LUCENE-1260
>             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.. 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to