Return-Path: Delivered-To: apmail-lucene-general-archive@www.apache.org Received: (qmail 51278 invoked from network); 12 Feb 2009 09:21:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Feb 2009 09:21:22 -0000 Received: (qmail 42064 invoked by uid 500); 12 Feb 2009 09:21:21 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 42037 invoked by uid 500); 12 Feb 2009 09:21:21 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 42026 invoked by uid 99); 12 Feb 2009 09:21:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 01:21:21 -0800 X-ASF-Spam-Status: No, hits=2.4 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ragia11@hotmail.com designates 65.54.246.158 as permitted sender) Received: from [65.54.246.158] (HELO bay0-omc2-s22.bay0.hotmail.com) (65.54.246.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 09:21:11 +0000 Received: from BAY114-W41 ([65.54.169.141]) by bay0-omc2-s22.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 01:20:50 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_edc6790f-7404-4e2b-97c6-fe114b372fe7_" X-Originating-IP: [41.196.117.214] From: Ragia Ibrahim To: Subject: RE: Modify Norm Date: Thu, 12 Feb 2009 09:20:50 +0000 Importance: Normal In-Reply-To: <21959177.post@talk.nabble.com> References: <21959177.post@talk.nabble.com> MIME-Version: 1.0 X-OriginalArrivalTime: 12 Feb 2009 09:20:50.0739 (UTC) FILETIME=[32680830:01C98CF3] X-Virus-Checked: Checked by ClamAV on apache.org --_edc6790f-7404-4e2b-97c6-fe114b372fe7_ Content-Type: text/plain; charset="windows-1256" Content-Transfer-Encoding: 8bit http://www.arabtranslators.net/ Ragia> Date: Wed, 11 Feb 2009 10:40:14 -0800> From: sendtoprat@yahoo.co.in> To: general@lucene.apache.org> Subject: Modify Norm> > > Hi> How can I set my own norm value during indexing time. From my quick reading> of code, I believe that norm values are written by NormsWriter class which> is called from final class DocumentsWriter. Norm values are set by calling> org.apache.lucene.search.Similarity#lengthNorm(String fieldName, int> numTokens). But I need to set the norm using the field value which is a> float number. I will be using this norm for my retrieval model. I cannot use> document.setBoost(), as i need to boost the fields differently.> > thanks> Pratyush> -- > View this message in context: http://www.nabble.com/Modify-Norm-tp21959177p21959177.html> Sent from the Lucene - General mailing list archive at Nabble.com.> _________________________________________________________________ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx --_edc6790f-7404-4e2b-97c6-fe114b372fe7_--