Looks like one of these:
http://stackoverflow.com/questions/1379934/large-numbers-erroneously-rounded-in-javascript

In the UI code, we just seem to be using JSON object's native functions.

Regards,
   Alex.
Personal: http://www.outerthoughts.com/ and @arafalov
Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
Solr popularizers community: https://www.linkedin.com/groups?gid=6713853


On 26 November 2014 at 22:26, Thomas L. Redman <tomred...@mchsi.com> wrote:
> I was using the SOLR administrative interface to issue my queries. When I 
> bypass the administrative interface and go directly to SOLR, the JSON return 
> indicates the AID is as it should be. The issue is in the presentation layer 
> of the Solr Admin UI. Which is good news.
>
> Thanks all, my bad. Should have checked presentation layer first.
>
>> On Nov 26, 2014, at 8:47 PM, Yonik Seeley <yo...@heliosearch.com> wrote:
>>
>> Yeah, XML was fine, JSON outside admin was fine... it's definitely
>> just the client (admin).
>> Oh, you meant the JSON formatting code in the client - yeah.
>> Hopefully there is a way to fix it w/o sacrificing our nice syntax
>> highlighting.
>>
>> -Yonik
>> http://heliosearch.org - native code faceting, facet functions,
>> sub-facets, off-heap data
>>
>> On Wed, Nov 26, 2014 at 9:41 PM, Alexandre Rafalovitch
>> <arafa...@gmail.com> wrote:
>>> Sounds like a JSON formatting code then? What happens when the return
>>> format is XML?
>>>
>>> Also, what happens if the request is made with browser debug panel
>>> open and we can compare what is on the wire with what is in the
>>> browser?
>>>
>>> Regards,
>>>   Alex.
>>> Personal: http://www.outerthoughts.com/ and @arafalov
>>> Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
>>> Solr popularizers community: https://www.linkedin.com/groups?gid=6713853
>>>
>>>
>>> On 26 November 2014 at 20:02, Yonik Seeley <yo...@heliosearch.com> wrote:
>>>> On Wed, Nov 26, 2014 at 7:57 PM, Brendan Humphreys <bren...@canva.com> 
>>>> wrote:
>>>>> I'd wager this is a loss of precision caused by Javascript rounding in the
>>>>> admin client. More details here:
>>>>>
>>>>> http://stackoverflow.com/questions/1379934/large-numbers-erroneously-rounded-in-javascript
>>>>
>>>> Ah, indeed - I was testing directly through the address bar, and not
>>>> via the admin interface.
>>>> I just tried the admin interface at
>>>> http://localhost:8983/solr/#/collection1/query
>>>> and I do see the rounding now.
>>>>
>>>>
>>>> -Yonik
>>>> http://heliosearch.org - native code faceting, facet functions,
>>>> sub-facets, off-heap data
>

Reply via email to