lucene-dev mailing list archives

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


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:
>             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:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message