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 53A4810215 for ; Tue, 3 Dec 2013 20:40:43 +0000 (UTC) Received: (qmail 73573 invoked by uid 500); 3 Dec 2013 20:40:40 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 73502 invoked by uid 500); 3 Dec 2013 20:40:40 -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 73472 invoked by uid 99); 3 Dec 2013 20:40:40 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Dec 2013 20:40:40 +0000 Date: Tue, 3 Dec 2013 20:40:40 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SOLR-5524) Exception when using Query Function inside Scale Function 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/SOLR-5524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13838156#comment-13838156 ] ASF subversion and git services commented on SOLR-5524: ------------------------------------------------------- Commit 1547581 from [~yonik@apache.org] in branch 'dev/trunk' [ https://svn.apache.org/r1547581 ] docs: SOLR-552 should be SOLR-5524 > Exception when using Query Function inside Scale Function > --------------------------------------------------------- > > Key: SOLR-5524 > URL: https://issues.apache.org/jira/browse/SOLR-5524 > Project: Solr > Issue Type: Bug > Affects Versions: 4.6 > Reporter: Trey Grainger > Assignee: Yonik Seeley > Priority: Minor > Fix For: 4.7 > > Attachments: SOLR-5524.patch > > > If you try to use the query function inside the scale function, it throws the following exception: > org.apache.lucene.search.BooleanQuery$BooleanWeight cannot be cast to > org.apache.lucene.queries.function.valuesource.ScaleFloatFunction$ScaleInfo > Here is an example request that invokes this: > http://localhost:8983/solr/collection1/select?q=*:*&fl=scale(query($x),0,5)&x=hello) -- This message was sent by Atlassian JIRA (v6.1#6144) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org