You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Manhal (JIRA)" <ji...@apache.org> on 2015/09/13 10:11:45 UTC

[jira] [Created] (SOLR-8047) large longs is being saved incorrect

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org