Iana Bondarska created SOLR-7608:
------------------------------------
Summary: Json API: cannot get metric for field with spaces.
Key: SOLR-7608
URL: https://issues.apache.org/jira/browse/SOLR-7608
Project: Solr
Issue Type: Bug
Components: query parsers
Affects Versions: 5.2
Reporter: Iana Bondarska
Fix For: 5.2
There is numeric field with spaces in name in schema. When try to calculate any
metric for it, I get an error about unrecognized field. Seems there is no way
to escape spaces in field names. Same query works fine for field names without
spaces.
Examle json query:
{"limit":0,"offset":0,"filter":[],"facet":{"facet":{"facet":{"actual_sales_sum":"sum(Actual
Sales)"},"limit":0,"field":"City","type":"terms"}}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]