Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 98397 invoked from network); 4 Feb 2008 04:21:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Feb 2008 04:21:36 -0000 Received: (qmail 19864 invoked by uid 500); 4 Feb 2008 04:21:22 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 19814 invoked by uid 500); 4 Feb 2008 04:21:22 -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 19803 invoked by uid 99); 4 Feb 2008 04:21:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Feb 2008 20:21:22 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stopman@gmail.com designates 72.14.220.156 as permitted sender) Received: from [72.14.220.156] (HELO fg-out-1718.google.com) (72.14.220.156) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 04:20:54 +0000 Received: by fg-out-1718.google.com with SMTP id d23so2445024fga.27 for ; Sun, 03 Feb 2008 20:21:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=nhjz8ntUaSlBc5BgG8wFIOHoh3JvkZV1iLYUVJ+LSJw=; b=jB5uO0rf/4fuOn9Rw5Ja7Kg75Pr76ZKX7pZ72bIUSI5T3CxokwfciSEEt2IA6NxaBMlz4C/3fy+OTac9P7JZH/j7zf+D3Oz8ETD3Ee6cbUgwuXaQmMf72rKz2G/WGMyFunoMP2WWDwUIRw254Ap7d4t43vstzpKVuBjmQeShT/A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=s0PfA6h32eSG/F3RdFCbaXx4L29gnv/LhrC72TZmur01hdOycWqSdEGLkDk74LZzP1dUkKnNeJpuxA0hupX2ye7q1ksiXiiVaadTzg+lgVLLnnyUHhAJrDGc4lsBas5lRi0qF03uiethUb3YxZwv2Y+5OFrsuIeuRgRYr6V2XiY= Received: by 10.82.108.9 with SMTP id g9mr12189358buc.34.1202098860241; Sun, 03 Feb 2008 20:21:00 -0800 (PST) Received: by 10.82.139.19 with HTTP; Sun, 3 Feb 2008 20:21:00 -0800 (PST) Message-ID: <652776090802032021w6bb5ac23q9d95f661269cb92@mail.gmail.com> Date: Sun, 3 Feb 2008 20:21:00 -0800 From: "Michael Stoppelman" To: java-user@lucene.apache.org Subject: Boosting using an external data source MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3166_30674941.1202098860238" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_3166_30674941.1202098860238 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I've created a mapping of query terms to clusters with corresponding strength values that I want to integrate into lucene scoring so I can boost documents that match the clusters. I would like to give a boost based on the normalized score. In my setup, each document has a field with the clusters their assigned to which is a string that contains numbers separated by spaces. I was looking at using ValueSourceQuery but didn't really understand how I should really deal with the FieldScoreQuery since the field I need to look up on isn't one of the defined types. Is there a simpler way I should be going about this? I'm using lucene 2.2.0. Thanks for your help as always, M ------=_Part_3166_30674941.1202098860238--