Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 70411 invoked from network); 24 Feb 2005 04:27:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 24 Feb 2005 04:27:43 -0000 Received: (qmail 94736 invoked by uid 500); 24 Feb 2005 04:27:40 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 94710 invoked by uid 500); 24 Feb 2005 04:27:39 -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 94695 invoked by uid 99); 24 Feb 2005 04:27:39 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp-roam.Stanford.EDU (HELO smtp-roam.Stanford.EDU) (171.64.10.152) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 23 Feb 2005 20:27:38 -0800 Received: from [10.0.0.176] (hxu-woon-lps.Stanford.EDU [171.65.78.176]) (authenticated bits=0) by smtp-roam.Stanford.EDU (8.12.11/8.12.11) with ESMTP id j1O4RZxB029093 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 23 Feb 2005 20:27:35 -0800 Message-ID: <421D57B6.7080405@helix.stanford.edu> Date: Wed, 23 Feb 2005 20:27:34 -0800 From: Mark Woon User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lucene Users List Subject: Javadoc error? 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 The javadoc for Field.setBoost() claims: "The boost is multiplied by |Document.getBoost()| of the document containing this field. If a document has multiple fields with the same name, all such values are multiplied together." However, from what I can tell from IndexSearcher.explain(), multiple fields with the same name have their boost values added together. It might very well be that I'm misinterprating what I'm seeing from explain(), but if I'm not, then either the javadoc is wrong or there's a bug somewhere... Does anyone know which way it's actually supposed to work? Thanks, -Mark --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org