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

[jira] [Resolved] (SOLR-5280) Json response doesn't take long field type well

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

Hoss Man resolved SOLR-5280.
----------------------------
    Resolution: Duplicate

w/o additional context, this sounds like a clear dup of SOLR-6364 -- client code (possibly a browser) parsing JSON and failing to deal with "long" (ie: large integer) values.

> 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 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