[ https://issues.apache.org/jira/browse/SOLR-8047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14744772#comment-14744772 ]
Erick Erickson commented on SOLR-8047: -------------------------------------- Please bring this kind of thing up on the user's lit first, as it tends to get more eyeballs. In this case I vaguely recall something similar that indicated this was a browser issue rather than a problem with Solr. Since you're using SolrJ, you can test whether this is the case pretty easily by querying for the document and examining the results. I'd query two ways 1> query the doc ID and examine the long field 2> query for the value as you indexed it In fact this latter could be done from a URL, just q=source_raw_hash:3954983690244748504 and see if the ID of the doc in question comes back. It'd be particularly indicative if the browser display displayed 3954983690244748300 > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org