Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BDB6510358 for ; Sat, 25 Jan 2014 00:54:46 +0000 (UTC) Received: (qmail 5711 invoked by uid 500); 25 Jan 2014 00:54:39 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 5554 invoked by uid 500); 25 Jan 2014 00:54:38 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 5532 invoked by uid 99); 25 Jan 2014 00:54:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Jan 2014 00:54:38 +0000 Date: Sat, 25 Jan 2014 00:54:38 +0000 (UTC) From: "Peng Cheng (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LUCENE-5417) Solr function query supports reading multiple values from a field. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-5417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13881570#comment-13881570 ] Peng Cheng commented on LUCENE-5417: ------------------------------------ I didn't check the issue history and am not sure if this problem has been solved, please revoke this one if its a duplicate. > Solr function query supports reading multiple values from a field. > ------------------------------------------------------------------ > > Key: LUCENE-5417 > URL: https://issues.apache.org/jira/browse/LUCENE-5417 > Project: Lucene - Core > Issue Type: New Feature > Components: core/query/scoring > Affects Versions: 4.6 > Environment: N/A > Reporter: Peng Cheng > Priority: Minor > Fix For: 4.7 > > Original Estimate: 168h > Remaining Estimate: 168h > > Solr function query is a powerful tool to customize search criterion and ranking function (http://wiki.apache.org/solr/FunctionQuery). However, it cannot effectively benefit from field values from multi-valued field, namely, the field(...) function can only read one value and discard the others. > This limitation has been associated with FieldCacheSource, and the fact that FieldCache cannot fetch multiple values from a field, but such constraint has been largely lifted by LUCENE-3354, which allows multiple values to be extracted from one field. Those values in turn can be used as parameters of other functions to yield a single score. > I personally find this limitation very unhandy when building a learning-to-rank system that uses many cues and string features. Therefore I would like to post this feature request and (hopefully) work on it myself. -- This message was sent by Atlassian JIRA (v6.1.5#6160) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org