lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1260) Norm codec strategy in Similarity
Date Tue, 08 Apr 2008 20:45:24 GMT

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

Hoss Man commented on LUCENE-1260:
----------------------------------

bq. I haven't thought too much about it yet, but it seems to me that norm codec has more to
do with the physical store (Directory) than Similarity and should perhaps be moved there instead?

As long as the norm remains a fixed size (1 byte) then it doesn't really matter whether it's
tied to Similarity's or the store itself -- it would be nice if the Index could tell you which
normDecoder to use, but it's not any more unreasonable to expect the application to keep track
of this (if it's not the default encoding) since applications already have to keep track of
things like which Analyzer is "compatible" with querying this index.

If we want norms to be more flexible, so tat apps can pick not only the encoding but also
the size... then things get more interesting, but it's still feasible to say "if you customize
this, you have to make your reading apps and your writing apps smart enough to know about
your customization."

bq. I also want to move it to the instance scope so I can have multiple indices with unique
norm span/resolutions created from the same classloader.

I agree, it's a good goal.


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