Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EA416911A for ; Wed, 29 Feb 2012 22:32:22 +0000 (UTC) Received: (qmail 18470 invoked by uid 500); 29 Feb 2012 22:32:21 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 18411 invoked by uid 500); 29 Feb 2012 22:32:21 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 18404 invoked by uid 99); 29 Feb 2012 22:32:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Feb 2012 22:32:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Feb 2012 22:32:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 53826C8492 for ; Wed, 29 Feb 2012 22:31:58 +0000 (UTC) Date: Wed, 29 Feb 2012 22:31:58 +0000 (UTC) From: "Tommaso Teofili (Commented) (JIRA)" To: dev@lucene.apache.org Message-ID: <1070270091.5151.1330554718343.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <405054460.53886.1329561179537.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-3140) Make omitNorms default for all numeric field types MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-3140?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13219= 612#comment-13219612 ]=20 Tommaso Teofili commented on SOLR-3140: --------------------------------------- bq. Is there a better place to set this default than in init() in the new b= ase 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 "key= words" or "tags" it's reasonable to want length normalization to be a facto= r to prevent keyword stuffing. good point =20 > 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=C3=B8ydahl > Labels: omitNorms > Fix For: 4.0 > > Attachments: SOLR-3140.patch > > > Today norms are enabled for all Solr field types by default, while in Luc= ene norms are omitted for the numeric types. > Propose to make the Solr defaults the same as in Lucene, so that if someo= ne occasionally wants index-side boost for a numeric field type they must s= ay omitNorms=3D"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 administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a 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