lucene-dev mailing list archives

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


Tommaso Teofili commented on SOLR-3140:

bq. Is there a better place to set this default than in init() in the new base class?

I agree that's the method responsible for doing this kind of stuff

bq. I don't think so? if you search on a multivalued string field like "keywords" or "tags"
it's reasonable to want length normalization to be a factor to prevent keyword stuffing.

good point
> 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