Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 40424 invoked from network); 17 Nov 2006 09:04:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Nov 2006 09:04:45 -0000 Received: (qmail 12901 invoked by uid 500); 17 Nov 2006 09:04:46 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 12280 invoked by uid 500); 17 Nov 2006 09:04:45 -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 12269 invoked by uid 99); 17 Nov 2006 09:04:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Nov 2006 01:04:45 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of stephan.spat@joanneum.at designates 143.224.24.130 as permitted sender) Received: from [143.224.24.130] (HELO mail.healthgate.at) (143.224.24.130) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Nov 2006 01:04:31 -0800 Received: by mail.healthgate.at (Postfix, from userid 65534) id 86A5B10FD32; Fri, 17 Nov 2006 10:09:20 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.healthgate.at (Postfix) with ESMTP id 97D5F10FD9C for ; Fri, 17 Nov 2006 10:09:19 +0100 (CET) Received: from [143.224.23.166] (msgw166.joanneum.ac.at [143.224.23.166]) by mail.healthgate.at (Postfix) with ESMTP id D95A610E936 for ; Fri, 17 Nov 2006 10:09:15 +0100 (CET) Message-ID: <455D7B05.2040006@joanneum.at> Date: Fri, 17 Nov 2006 10:04:05 +0100 From: Stephan Spat User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Q: Searching - Use of field to increase score, without filtering Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS snapshot-20020531 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on msgs130.healthgate.at X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.64 Hello everybody! I used Weka-classification to classify document into different classes. In Lucene I saved the predicted classes (besides the document + metadata) for these docs into a field called preclasses. Now I would like to use this field to boost the score, if a userquery agree to the value of this field. But I don't like to filter by this field, which means: if a userquery for the field preclasses fits to the value of the field, all documents (indenpentent from the value of the field preclasses) should be returned, but for documents where the value of the preclasses field matches to the user-input should be used for boosting the score (therefore I set the boostfactor of the field preclasses to a higher value than 1). In short: The field preclasses should be used as a booster and not as a filter! Is this possible? And how? Thanks a lot! Stephan Spat --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org