You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Iana Bondarska (JIRA)" <ji...@apache.org> on 2015/05/29 16:42:17 UTC

[jira] [Created] (SOLR-7608) Json API: cannot get metric for field with spaces.

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org