lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3140) Make omitNorms default for all numeric field types
Date Wed, 29 Feb 2012 22:57:59 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219631#comment-13219631
] 

Yonik Seeley commented on SOLR-3140:
------------------------------------

Although length normalization on StringType fields *could* be useful, we should think about
the best default.  The user can always switch it of course.

But on the other hand, the "string" type defined by the example schema already specifies omitNorms=true,
and as long as we don't change that I don't think the default for the java class is a big
deal either way.  Keeping it the same has the slight benefit of making it easier for the minority
of people who defined their own string fields and purposely wanted norms.
                
> Make omitNorms default for all numeric field types
> --------------------------------------------------
>
>                 Key: SOLR-3140
>                 URL: https://issues.apache.org/jira/browse/SOLR-3140
>             Project: Solr
>          Issue Type: Improvement
>          Components: Schema and Analysis
>            Reporter: Jan H√łydahl
>              Labels: omitNorms
>             Fix For: 4.0
>
>         Attachments: SOLR-3140.patch
>
>
> Today norms are enabled for all Solr field types by default, while in Lucene norms are
omitted for the numeric types.
> Propose to make the Solr defaults the same as in Lucene, so that if someone occasionally
wants index-side boost for a numeric field type they must say omitNorms="false". This lets
us simplify the example schema too.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message