Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 49469 invoked from network); 15 Sep 2009 16:18:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Sep 2009 16:18:54 -0000 Received: (qmail 35976 invoked by uid 500); 15 Sep 2009 16:18:53 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 35904 invoked by uid 500); 15 Sep 2009 16:18:53 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 35894 invoked by uid 99); 15 Sep 2009 16:18:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2009 16:18:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2009 16:18:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 34F9C234C052 for ; Tue, 15 Sep 2009 09:17:58 -0700 (PDT) Message-ID: <473125846.1253031478215.JavaMail.jira@brutus> Date: Tue, 15 Sep 2009 09:17:58 -0700 (PDT) From: "Yonik Seeley (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Updated: (SOLR-1432) FunctionQueries aren't correctly weighted In-Reply-To: <890518552.1253028840096.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-1432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yonik Seeley updated SOLR-1432: ------------------------------- Attachment: SOLR-1432.patch Here's the essence of the patch that adds a simple/flexible untyped weighting scheme to ValueSource: {code} /** Implementations should propagate createWeight to sub-ValueSources which can optionally store * weight info in the context. The context object will be passed to getValues() * where this info can be retrieved. */ public void createWeight(Map context, Searcher searcher) throws IOException { } {code} > FunctionQueries aren't correctly weighted > ----------------------------------------- > > Key: SOLR-1432 > URL: https://issues.apache.org/jira/browse/SOLR-1432 > Project: Solr > Issue Type: Bug > Affects Versions: 1.4 > Reporter: Yonik Seeley > Assignee: Yonik Seeley > Fix For: 1.4 > > Attachments: SOLR-1432.patch > > > Nested queries in function queries aren't weighted correctly with the proper Searcher, and this is now even more serious with per-segment searching in Lucene/Solr. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.