[ 
https://issues.apache.org/jira/browse/SOLR-5280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Liu Xiang updated SOLR-5280:
----------------------------

    Description: 
In my index, one field is defined as solr.LongField.
After index, use solr webUI to fetch the doc.
by default, xml response is as following, which is correct:
<long>205840180000100338</long>
<long>205840180000102563</long>
Then Change "wt" to json, response is:
[ 
  205840180000100350,
  205840180000102560
]


  was:
In my index, one field is defined as solr.LongField.
After index, use solr webUI to fetch the doc.
by default, xml response is correct as following:
<long>205840180000100338</long>
<long>205840180000102563</long>
Then Change "wt" to json, response is:
[ 
  205840180000100350,
  205840180000102560
]


    
> Json response doesn't take long field type well
> -----------------------------------------------
>
>                 Key: SOLR-5280
>                 URL: https://issues.apache.org/jira/browse/SOLR-5280
>             Project: Solr
>          Issue Type: Bug
>          Components: Response Writers
>    Affects Versions: 4.2
>            Reporter: Liu Xiang
>
> In my index, one field is defined as solr.LongField.
> After index, use solr webUI to fetch the doc.
> by default, xml response is as following, which is correct:
> <long>205840180000100338</long>
> <long>205840180000102563</long>
> Then Change "wt" to json, response is:
> [ 
>   205840180000100350,
>   205840180000102560
> ]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to