Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 81283 invoked from network); 19 Apr 2007 19:08:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Apr 2007 19:08:55 -0000 Received: (qmail 28434 invoked by uid 500); 19 Apr 2007 19:08:55 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 28382 invoked by uid 500); 19 Apr 2007 19:08:55 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 28371 invoked by uid 99); 19 Apr 2007 19:08:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 12:08:55 -0700 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 12:08:48 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HebzY-0002tb-30 for java-dev@lucene.apache.org; Thu, 19 Apr 2007 12:08:28 -0700 Message-ID: <10084937.post@talk.nabble.com> Date: Thu, 19 Apr 2007 12:08:27 -0700 (PDT) From: HG1212 To: java-dev@lucene.apache.org Subject: Document Boost MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: furkhans@yahoo.com X-Virus-Checked: Checked by ClamAV on apache.org Hi there, I am new to Lucene and would appreciate any help on this. Thank you in advance. I want the order of the search results based on the keywords mentioned in the meta information of the document. For example, if I have two very similar documents first.htm and second.htm, first.htm has keywords ("security") mentioned in its meta and the second.htm does not mention those keywords in its meta information, but both documents contain "security" in its content, then I would want to see the first.htm at the top of the search results lists. I tried to boost these keywords (added new fields to the document and setting the boost for these fields) before adding to the document, but when I do a search, the results are not as expected. Any ideas how to accomplish this. Thanks HG -- View this message in context: http://www.nabble.com/Document-Boost-tf3609184.html#a10084937 Sent from the Lucene - Java Developer mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org