You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2020/08/23 22:06:14 UTC

[GitHub] [lucene-solr] yonik commented on pull request #1775: SOLR-14767 : fix long field parsing from string

yonik commented on pull request #1775:
URL: https://github.com/apache/lucene-solr/pull/1775#issuecomment-678830723


   These changes aren't correct...  parsing a long as a double (and then converting back to a long) will lose data.  A double cannot represent all integral values that a long can.  Parsing as a double should only be done as a backup if long parsing fails first.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org