[
https://issues.apache.org/jira/browse/LUCENE-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979319#action_12979319
]
Robert Muir commented on LUCENE-1260:
-------------------------------------
{quote}
hmm, not sure if I understand this correctly. how values are encoded / decoded
depends on the DocValues implementation which can be customized since it is
exposed via codec. That means that users of the API always operate on float and
the encoding and decoding happens inside codec and per field. So encode/decode
in Sim would be obsolet, right?
{quote}
the issues remaining here involve mostly "fake norms", for the omitNorms case
(also "empty norms" I think).
So, the stuff I listed must be fixed regardless, to clean up the fake norms
case, it does not matter if "real norms" are encoded with CSF or not.
Doing things like cleaning up how we deal with fake norms, and removing
Similarity.get/setDefault is completely unrelated to DocValues... its just
stuff we must fix.
As long as we have these statics like Similarity.get/setDefault, its not even
useful to think about things like flexible scoring or per-field SImilarity...!
> 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: 4.0
>
> Attachments: Lucene-1260-1.patch, Lucene-1260-2.patch,
> Lucene-1260.patch, LUCENE-1260.txt, LUCENE-1260.txt, LUCENE-1260.txt,
> LUCENE-1260_defaultsim.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]