On Thu, Sep 10, 2015 at 2:21 PM, Pushkar Raste <pushkar.ra...@gmail.com> wrote:
> Hi,
> I am trying to following add document (value for price.long is
> Long.MAX_VALUE)
>
>   <doc>
>         <field name="id">411</field>
>         <field name="name">one</field>
>         <field name="price.long">9223372036854775807</field>
>     </doc>
>
> However upon querying my collection value I get back for "price.long" is
> 9223372036854776000

The value probably isn't actually rounded in solr, but in the client.
If you are looking at this from the admin console, then it's the
javascript there that is unfortunately rounding the displayed value.

http://stackoverflow.com/questions/1379934/large-numbers-erroneously-rounded-in-javascript

https://issues.apache.org/jira/browse/SOLR-6364

We should really fix the admin somehow... this has bitten quite a few people.

-Yonik

Reply via email to