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 (Created JIRA)" <ji...@apache.org> on 2012/02/18 11:32:59 UTC
[jira] [Created] (SOLR-3140) Make omitNorms default for all numeric
field types
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
Fix For: 4.0
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
[jira] [Updated] (SOLR-3140) Make omitNorms default for all numeric
field types
Posted by "Jan Høydahl (Updated JIRA)" <ji...@apache.org>.
[ 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-3x.patch
Patch for branch_3x
> 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
> Assignee: Jan Høydahl
> Labels: omitNorms
> Fix For: 3.6, 4.0
>
> Attachments: SOLR-3140-3x.patch, SOLR-3140.patch, 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
[jira] [Updated] (SOLR-3140) Make omitNorms default for all numeric
field types
Posted by "Jan Høydahl (Updated JIRA)" <ji...@apache.org>.
[ 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 with tests. Gonna commit and backport
> 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
> Assignee: Jan Høydahl
> Labels: omitNorms
> Fix For: 3.6, 4.0
>
> Attachments: SOLR-3140.patch, 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
[jira] [Updated] (SOLR-3140) Make omitNorms default for all numeric
field types
Posted by "Jan Høydahl (Updated JIRA)" <ji...@apache.org>.
[ 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
First patch. Introduces a new NumericFieldType which sets omitNorms=true in init(). All numeric fields inherit from this and if schema version >1.4 (patch bumps it to 1.5) the new default will be used.
I could not find a way to set this default in constructor, as we do not know yet the schema version, before init() is called, right?
Open issues:
* Is there a better place to set this default than in init() in the new base class?
* Should StrField or other fields also have omitNorms as default?
> 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
[jira] [Updated] (SOLR-3140) Make omitNorms default for all numeric
field types
Posted by "Jan Høydahl (Updated JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Høydahl updated SOLR-3140:
------------------------------
Fix Version/s: 3.6
> 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: 3.6, 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
[jira] [Commented] (SOLR-3140) Make omitNorms default for all
numeric field types
Posted by "Jan Høydahl (Commented JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218234#comment-13218234 ]
Jan Høydahl commented on SOLR-3140:
-----------------------------------
Opinions on this?
> 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
>
>
> 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
[jira] [Commented] (SOLR-3140) Make omitNorms default for all
numeric field types
Posted by "Tommaso Teofili (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218600#comment-13218600 ]
Tommaso Teofili commented on SOLR-3140:
---------------------------------------
yes big +1
> 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
>
>
> 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
[jira] [Commented] (SOLR-3140) Make omitNorms default for all
numeric field types
Posted by "Tommaso Teofili (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219625#comment-13219625 ]
Tommaso Teofili commented on SOLR-3140:
---------------------------------------
maybe something like PrimitiveFieldType (that should recall Java primitive types)
> 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
[jira] [Commented] (SOLR-3140) Make omitNorms default for all
numeric field types
Posted by "Tommaso Teofili (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219612#comment-13219612 ]
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: 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
[jira] [Commented] (SOLR-3140) Make omitNorms default for all
numeric field types
Posted by "Jan Høydahl (Commented JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219616#comment-13219616 ]
Jan Høydahl commented on SOLR-3140:
-----------------------------------
I don't know if calling the BoolField a "NumericFieldType" is stretching it. That was the name I could think of.
> 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
[jira] [Assigned] (SOLR-3140) Make omitNorms default for all
numeric field types
Posted by "Jan Høydahl (Assigned JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Høydahl reassigned SOLR-3140:
---------------------------------
Assignee: Jan Høydahl
> 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
> Assignee: Jan Høydahl
> Labels: omitNorms
> Fix For: 3.6, 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
[jira] [Commented] (SOLR-3140) Make omitNorms default for all
numeric field types
Posted by "Erik Hatcher (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218465#comment-13218465 ]
Erik Hatcher commented on SOLR-3140:
------------------------------------
+1, simpler is better.
> 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
>
>
> 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
[jira] [Resolved] (SOLR-3140) Make omitNorms default for all
numeric field types
Posted by "Jan Høydahl (Resolved JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Høydahl resolved SOLR-3140.
-------------------------------
Resolution: Fixed
Committed in trunk, merged to 3x
> 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
> Assignee: Jan Høydahl
> Labels: omitNorms
> Fix For: 3.6, 4.0
>
> Attachments: SOLR-3140-3x.patch, SOLR-3140.patch, 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
[jira] [Commented] (SOLR-3140) Make omitNorms default for all
numeric field types
Posted by "Yonik Seeley (Commented) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (SOLR-3140) Make omitNorms default for all numeric
field types
Posted by "Jan Høydahl (Updated JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (SOLR-3140) Make omitNorms default for all
numeric field types
Posted by "Hoss Man (Commented) (JIRA)" <ji...@apache.org>.
[ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org