You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (Updated JIRA)" <ji...@apache.org> on 2012/03/03 02:05:58 UTC

[jira] [Updated] (SOLR-3140) Make omitNorms default for all numeric field types

     [ https://issues.apache.org/jira/browse/SOLR-3140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl updated SOLR-3140:
------------------------------

    Attachment: SOLR-3140.patch

New patch renaming base class to PrimitiveFieldType. StrField now also defaults to omitNorms="true".

So now, starting from 3.6 people will not need to remember to always say omitNorms=true for their own fields - primitive types defined without omitNorms specified will still get norms as default if schema version >=1.5
                
> 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, 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