[jira] [Commented] (SOLR-10085) SQL result set fields should be ordered by the field list
[ https://issues.apache.org/jira/browse/SOLR-10085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15948992#comment-15948992 ] ASF subversion and git services commented on SOLR-10085: Commit 4d3e94befcb5ea361ceff1fcff1bdc3e6166fdf1 in lucene-solr's branch refs/heads/branch_6_5 from [~cpoerschke] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=4d3e94b ] SOLR-10046: remove CHANGES.txt entry (Reverses unintentional add alongside SOLR-10085 and SOLR-10254 CHANGES.txt update.) > SQL result set fields should be ordered by the field list > - > > Key: SOLR-10085 > URL: https://issues.apache.org/jira/browse/SOLR-10085 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: faceting >Affects Versions: 6.3 > Environment: Windows 8.1, Java 8 >Reporter: Yeo Zheng Lin >Assignee: Joel Bernstein > Labels: json, streaming > Attachments: SOLR-10085.patch, SOLR-10085.patch, SOLR-10085.patch > > > I'm trying out the Streaming Expressions in Solr 6.3.0. > Currently, I'm facing the issue of not being able to get the fields in the > result-set to be displayed in the same order as what I put in the query. > For example, when I execute this query: > http://localhost:8983/solr/collection1/stream?expr=facet(collection1, > q="*:*", > buckets="id,cost,quantity", > bucketSorts="cost desc", > bucketSizeLimit=100, > sum(cost), > sum(quantity), > min(cost), > min(quantity), > max(cost), > max(quantity), > avg(cost), > avg(quantity), > count(*))=true > I get the following in the result-set. >{ > "result-set":{"docs":[ > { > "min(quantity)":12.21, > "avg(quantity)":12.21, > "sum(cost)":256.33, > "max(cost)":256.33, > "count(*)":1, > "min(cost)":256.33, > "cost":256.33, > "avg(cost)":256.33, > "quantity":12.21, > "id":"01", > "sum(quantity)":12.21, > "max(quantity)":12.21}, > { > "EOF":true, > "RESPONSE_TIME":359}]}} > The fields are displayed randomly all over the place, instead of the order > sum, min, max, avg as in the query. This may cause confusion to user who look > at the output. Possible improvement to display the fields in the result-set > in the same order as the query -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-10085) SQL result set fields should be ordered by the field list
[ https://issues.apache.org/jira/browse/SOLR-10085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15948986#comment-15948986 ] ASF subversion and git services commented on SOLR-10085: Commit 09373aaa0875b8ae2bb795d5dfafbdb1450546cc in lucene-solr's branch refs/heads/branch_6x from [~cpoerschke] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=09373aa ] SOLR-10046: remove CHANGES.txt entry (Reverses unintentional add alongside SOLR-10085 and SOLR-10254 CHANGES.txt update.) > SQL result set fields should be ordered by the field list > - > > Key: SOLR-10085 > URL: https://issues.apache.org/jira/browse/SOLR-10085 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: faceting >Affects Versions: 6.3 > Environment: Windows 8.1, Java 8 >Reporter: Yeo Zheng Lin >Assignee: Joel Bernstein > Labels: json, streaming > Attachments: SOLR-10085.patch, SOLR-10085.patch, SOLR-10085.patch > > > I'm trying out the Streaming Expressions in Solr 6.3.0. > Currently, I'm facing the issue of not being able to get the fields in the > result-set to be displayed in the same order as what I put in the query. > For example, when I execute this query: > http://localhost:8983/solr/collection1/stream?expr=facet(collection1, > q="*:*", > buckets="id,cost,quantity", > bucketSorts="cost desc", > bucketSizeLimit=100, > sum(cost), > sum(quantity), > min(cost), > min(quantity), > max(cost), > max(quantity), > avg(cost), > avg(quantity), > count(*))=true > I get the following in the result-set. >{ > "result-set":{"docs":[ > { > "min(quantity)":12.21, > "avg(quantity)":12.21, > "sum(cost)":256.33, > "max(cost)":256.33, > "count(*)":1, > "min(cost)":256.33, > "cost":256.33, > "avg(cost)":256.33, > "quantity":12.21, > "id":"01", > "sum(quantity)":12.21, > "max(quantity)":12.21}, > { > "EOF":true, > "RESPONSE_TIME":359}]}} > The fields are displayed randomly all over the place, instead of the order > sum, min, max, avg as in the query. This may cause confusion to user who look > at the output. Possible improvement to display the fields in the result-set > in the same order as the query -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-10085) SQL result set fields should be ordered by the field list
[ https://issues.apache.org/jira/browse/SOLR-10085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15927216#comment-15927216 ] ASF subversion and git services commented on SOLR-10085: Commit 1bf01577748da82a394f3c64a2af68d5d8ae4ac2 in lucene-solr's branch refs/heads/branch_6x from [~joel.bernstein] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=1bf0157 ] SOLR-10085: SQL result set fields should be ordered by the field list > SQL result set fields should be ordered by the field list > - > > Key: SOLR-10085 > URL: https://issues.apache.org/jira/browse/SOLR-10085 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: faceting >Affects Versions: 6.3 > Environment: Windows 8.1, Java 8 >Reporter: Yeo Zheng Lin >Assignee: Joel Bernstein > Labels: json, streaming > Attachments: SOLR-10085.patch, SOLR-10085.patch, SOLR-10085.patch > > > I'm trying out the Streaming Expressions in Solr 6.3.0. > Currently, I'm facing the issue of not being able to get the fields in the > result-set to be displayed in the same order as what I put in the query. > For example, when I execute this query: > http://localhost:8983/solr/collection1/stream?expr=facet(collection1, > q="*:*", > buckets="id,cost,quantity", > bucketSorts="cost desc", > bucketSizeLimit=100, > sum(cost), > sum(quantity), > min(cost), > min(quantity), > max(cost), > max(quantity), > avg(cost), > avg(quantity), > count(*))=true > I get the following in the result-set. >{ > "result-set":{"docs":[ > { > "min(quantity)":12.21, > "avg(quantity)":12.21, > "sum(cost)":256.33, > "max(cost)":256.33, > "count(*)":1, > "min(cost)":256.33, > "cost":256.33, > "avg(cost)":256.33, > "quantity":12.21, > "id":"01", > "sum(quantity)":12.21, > "max(quantity)":12.21}, > { > "EOF":true, > "RESPONSE_TIME":359}]}} > The fields are displayed randomly all over the place, instead of the order > sum, min, max, avg as in the query. This may cause confusion to user who look > at the output. Possible improvement to display the fields in the result-set > in the same order as the query -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-10085) SQL result set fields should be ordered by the field list
[ https://issues.apache.org/jira/browse/SOLR-10085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15927163#comment-15927163 ] ASF subversion and git services commented on SOLR-10085: Commit b46e09c79f849d9211b3de235788bbf32d7aa84b in lucene-solr's branch refs/heads/master from [~joel.bernstein] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=b46e09c ] SOLR-10085: SQL result set fields should be ordered by the field list > SQL result set fields should be ordered by the field list > - > > Key: SOLR-10085 > URL: https://issues.apache.org/jira/browse/SOLR-10085 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: faceting >Affects Versions: 6.3 > Environment: Windows 8.1, Java 8 >Reporter: Yeo Zheng Lin >Assignee: Joel Bernstein > Labels: json, streaming > Attachments: SOLR-10085.patch, SOLR-10085.patch, SOLR-10085.patch > > > I'm trying out the Streaming Expressions in Solr 6.3.0. > Currently, I'm facing the issue of not being able to get the fields in the > result-set to be displayed in the same order as what I put in the query. > For example, when I execute this query: > http://localhost:8983/solr/collection1/stream?expr=facet(collection1, > q="*:*", > buckets="id,cost,quantity", > bucketSorts="cost desc", > bucketSizeLimit=100, > sum(cost), > sum(quantity), > min(cost), > min(quantity), > max(cost), > max(quantity), > avg(cost), > avg(quantity), > count(*))=true > I get the following in the result-set. >{ > "result-set":{"docs":[ > { > "min(quantity)":12.21, > "avg(quantity)":12.21, > "sum(cost)":256.33, > "max(cost)":256.33, > "count(*)":1, > "min(cost)":256.33, > "cost":256.33, > "avg(cost)":256.33, > "quantity":12.21, > "id":"01", > "sum(quantity)":12.21, > "max(quantity)":12.21}, > { > "EOF":true, > "RESPONSE_TIME":359}]}} > The fields are displayed randomly all over the place, instead of the order > sum, min, max, avg as in the query. This may cause confusion to user who look > at the output. Possible improvement to display the fields in the result-set > in the same order as the query -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org