Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9FF64200B7F for ; Sun, 11 Sep 2016 19:56:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9EAB6160AB6; Sun, 11 Sep 2016 17:56:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E7C53160AD6 for ; Sun, 11 Sep 2016 19:56:22 +0200 (CEST) Received: (qmail 51704 invoked by uid 500); 11 Sep 2016 17:56:21 -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 51335 invoked by uid 99); 11 Sep 2016 17:56:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Sep 2016 17:56:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AAB3F2C1B85 for ; Sun, 11 Sep 2016 17:56:20 +0000 (UTC) Date: Sun, 11 Sep 2016 17:56:20 +0000 (UTC) From: "Gus Heck (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SOLR-9499) Streaming Expression Cannot sort on aliased field MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 11 Sep 2016 17:56:23 -0000 [ https://issues.apache.org/jira/browse/SOLR-9499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gus Heck updated SOLR-9499: --------------------------- Summary: Streaming Expression Cannot sort on aliased field (was: Streaming ExpressionCannot sort on aliased field ) > Streaming Expression Cannot sort on aliased field > -------------------------------------------------- > > Key: SOLR-9499 > URL: https://issues.apache.org/jira/browse/SOLR-9499 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: search > Affects Versions: 6.2 > Environment: 6.2.0_RC1 > Reporter: Gus Heck > Priority: Minor > > an expression such as: > {code} > search(test, rows=999999, q=table:article_p, fl="yi_pw,id,article:article_id", sort="article asc") > or > search(test, rows=999999, q=table:article_p, fl="yi_pw,id,article:article_id", sort="article_id asc") > {code} > results in: > {code} > {"result-set":{"docs":[ > {"EXCEPTION":"Fields in the sort spec must be included in the field list:article","EOF":true}]}} > or > {"result-set":{"docs":[ > {"EXCEPTION":"Fields in the sort spec must be included in the field list:article_id","EOF":true}]}} > {code} > and > {code} > {"result-set":{"docs":[ > {"EXCEPTION":"Fields in the sort spec must be included in the field list:article:article_id","EOF":true}]}} > {code} > yeilds > {code} > {"result-set":{"docs":[ > {"EXCEPTION":"java.util.concurrent.ExecutionException: java.io.IOException: --> http://10.1.3.9:8983/solr/test_shard1_replica1/:sort param could not be parsed as a query, and is not a field that exists in the index: article:article_id","EOF":true,"RESPONSE_TIME":5}]}} > {code} > If I sort by id instead, it all works fine. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org