Manhal created SOLR-8047:
----------------------------

             Summary: large longs is being saved incorrect
                 Key: SOLR-8047
                 URL: https://issues.apache.org/jira/browse/SOLR-8047
             Project: Solr
          Issue Type: Bug
          Components: Schema and Analysis
    Affects Versions: 5.3
            Reporter: Manhal


I have a solr schema with a field in long type

<field name="source_raw_hash" type="long" indexed="true" stored="true"/>

the long type in the schema is the default:

<fieldType name="long" class="solr.TrieLongField" precisionStep="0" 
positionIncrementGap="0"/>

I am saving to the index in solrJ, the value: 3954983690244748504 to this 
field, but it's being saved as 3954983690244748300

I am having the same with different large values.

I also tested it from admin UI, adding the same long and it's being saved 
incorrect





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to