Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 71383 invoked from network); 24 Sep 2004 13:20:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 24 Sep 2004 13:20:14 -0000 Received: (qmail 90707 invoked by uid 500); 24 Sep 2004 13:22:02 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 90627 invoked by uid 500); 24 Sep 2004 13:22:00 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 90509 invoked by uid 99); 24 Sep 2004 13:21:58 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [62.67.200.165] (HELO smtprelay04.ispgateway.de) (62.67.200.165) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 24 Sep 2004 06:21:57 -0700 Received: (qmail 22342 invoked from network); 24 Sep 2004 13:21:48 -0000 Received: from unknown (HELO [192.168.2.68]) (450094@[217.231.71.86]) (envelope-sender ) by smtprelay04.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 24 Sep 2004 13:21:48 -0000 Message-ID: <41541F7F.7080003@eastbeam.com> Date: Fri, 24 Sep 2004 15:22:07 +0200 From: "Bastian Grimm [Eastbeam GmbH]" User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lucene Users List Subject: Re: problem with get/setBoost of document fields References: <4151ABEF.2060504@eastbeam.com> <200409222115.10048@danielnaber.de> <4152BED2.4090908@eastbeam.com> <006420E2-0D60-11D9-B393-000393A564E6@ehatchersolutions.com> <4152D729.7080609@eastbeam.com> <4152F94B.3090408@apache.org> In-Reply-To: <4152F94B.3090408@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N thanks doug, that works... but i have to do this setNorm() for each document, which has been indexed up to now, right? there are round about 1 mio. docs in the index... i dont think it's a good idea to perform a search and do it for every doc (and every field of the doc...). is there any possibility to do something like: setNorm(alldocs, "fieldX", 2.0f) - a global boost for a named field for every doc. a last question: lucene creates some .f[1-9] after setNorm() has finished. does this file remain all the time in this folder? i tried to optimize and so one but nothing happend. after having finished this setNorm() for the fields of the doc, i have to change my statement to create docs with the new boost, but setNorm and setBoost - those values do are not the same... sorry, a lot of questions, but i dont want the index to get crashed. thanks for your time. bastian ---------- You can change field boosts without re-indexing. http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/index/IndexReader.html#setNorm(int,%20java.lang.String,%20byte) Doug --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org