Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 73315 invoked from network); 5 Jun 2007 02:33:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jun 2007 02:33:55 -0000 Received: (qmail 15469 invoked by uid 500); 5 Jun 2007 02:33:58 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 14863 invoked by uid 500); 5 Jun 2007 02:33:56 -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 14852 invoked by uid 99); 5 Jun 2007 02:33:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2007 19:33:56 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2007 19:33:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E0BCD4297CE for ; Mon, 4 Jun 2007 19:33:31 -0700 (PDT) Message-ID: <18928408.1181010811910.JavaMail.jira@brutus> Date: Mon, 4 Jun 2007 19:33:31 -0700 (PDT) From: "Doron Cohen (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-446) search.function - (1) score based on field value, (2) simple score customizability In-Reply-To: <1335068423.1128457428687.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doron Cohen updated LUCENE-446: ------------------------------- Attachment: function.patch.txt Updated patch: - fixes explanation and toString() issues. - adds the Ord and ReverseOrd valueSource classes that are in use in Solr - warn in the javadocs from the experimental state of this package Javadocs were updated at http://people.apache.org/~doronc/api I will commit this later today of there are no objections. > search.function - (1) score based on field value, (2) simple score customizability > ---------------------------------------------------------------------------------- > > Key: LUCENE-446 > URL: https://issues.apache.org/jira/browse/LUCENE-446 > Project: Lucene - Java > Issue Type: New Feature > Components: Search > Reporter: Yonik Seeley > Assignee: Doron Cohen > Priority: Minor > Fix For: 2.2 > > Attachments: function.patch.txt, function.patch.txt, function.patch.txt, function.zip, function.zip > > > FunctionQuery can return a score based on a field's value or on it's ordinal value. > FunctionFactory subclasses define the details of the function. There is currently a LinearFloatFunction (a line specified by slope and intercept). > Field values are typically obtained from FieldValueSourceFactory. Implementations include FloatFieldSource, IntFieldSource, and OrdFieldSource. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org