Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 82260 invoked from network); 1 Dec 2008 22:19:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Dec 2008 22:19:56 -0000 Received: (qmail 94743 invoked by uid 500); 1 Dec 2008 22:19:59 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 94705 invoked by uid 500); 1 Dec 2008 22:19:59 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 94666 invoked by uid 99); 1 Dec 2008 22:19:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 14:19:59 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [208.97.132.207] (HELO spunkymail-a17.g.dreamhost.com) (208.97.132.207) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 22:18:29 +0000 Received: from [192.168.0.3] (adsl-074-229-189-244.sip.rmo.bellsouth.net [74.229.189.244]) by spunkymail-a17.g.dreamhost.com (Postfix) with ESMTP id 8D9BF73655 for ; Mon, 1 Dec 2008 14:18:45 -0800 (PST) Message-Id: <8396568E-FD4F-47CC-A474-B51D6D54688C@apache.org> From: Grant Ingersoll To: java-user@lucene.apache.org In-Reply-To: <20759051.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: Boosting fields are searching or indexing time? Date: Mon, 1 Dec 2008 17:18:44 -0500 References: <20759051.post@talk.nabble.com> X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on apache.org Possibly, but probably not. Index time boosting is generally done to say one field is more important than another field, or one document is more important than another document, whereas query time boosting generally says this term is more important than that term. Additionally, search time boosting has much more granularity than index time boosting, meaning you have more bits to express the boost value during search than you do during indexing. HTH, Grant On Nov 30, 2008, at 11:11 AM, Marc Sturlese wrote: > > Hey there, > I have a simple question about boosting fields, > I have a lucene indexer app that indexes data from a db. At indexing > time I > give different boost to the fields depending on if the field is > title or > content. Would it be the same to set the boost at searching time > instead of > at indexing? I mean, the results of the search would be exactly the > same? > > Thanks in advance > -- > View this message in context: http://www.nabble.com/Boosting-fields-are-searching-or-indexing-time--tp20759051p20759051.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org