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

Hoss Man commented on SOLR-3140:
--------------------------------

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

probably not

bq. Should StrField or other fields also have omitNorms as default?

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.  
                
> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to