Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 13070 invoked from network); 6 Feb 2003 15:32:40 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 6 Feb 2003 15:32:40 -0000 Received: (qmail 702 invoked by uid 97); 6 Feb 2003 15:34:09 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@nagoya.betaversion.org Received: (qmail 695 invoked from network); 6 Feb 2003 15:34:09 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 6 Feb 2003 15:34:09 -0000 Received: (qmail 12829 invoked by uid 500); 6 Feb 2003 15:32:37 -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 12808 invoked from network); 6 Feb 2003 15:32:36 -0000 Received: from mail2.hypermall.com (216.241.37.118) by daedalus.apache.org with SMTP; 6 Feb 2003 15:32:36 -0000 Received: from [216.241.38.72] (helo=www.doomdark.org) by mail2.hypermall.com with esmtp (Exim 3.36 #1) id 18go10-0005Ul-00 for lucene-user@jakarta.apache.org; Thu, 06 Feb 2003 08:32:38 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Tatu Saloranta Reply-To: tatu@hypermall.net Organization: Linux-users missalie To: "Lucene Users List" Subject: Re: Document.setBoost(float??) | Date: Thu, 6 Feb 2003 08:38:35 -0700 User-Agent: KMail/1.4.3 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200302060838.35731.tatu@hypermall.net> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Wednesday 05 February 2003 23:54, Rishabh Bajpai wrote: ... > document changes if we give a boost factor. but i am not clear as to why we > want the document score to change like this; rather each of the field's A guess: this was an something easy to implement and still useful for some users (since in many cases some documents can be considered "better", based on some feedback or source or type). It doesn't really replace more advanced methods of figuring out relevance. So what you are requesting could well co-exist with doc boost feature. > score within the document should vary? Suppose i am searching for "i am > rishabh"....i want to boost "rishabh" when i am tokenizing this phrase and > indexing it...this would essentially mean that "rishabh" shold have a > greater relevancy than "i" and "am" in each of the documents to which these > fields are added? I don't know if there's any feature that would do exactly that, but if you can separate just one or two classes of "more important" words (keywords), you could create separate index(es) for those, and boost the search to keyword index higher than search for other plain text content. -+ Tatu +- --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org