You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by GitBox <gi...@apache.org> on 2021/12/07 13:47:16 UTC

[GitHub] [lucenenet] NightOwl888 commented on issue #549: Failing Test: Lucene.Net.Search.Join.TestJoinUtil::TestMultiValueRandomJoin()

NightOwl888 commented on issue #549:
URL: https://github.com/apache/lucenenet/issues/549#issuecomment-987941110


   Actually, I was able to rule a lot of stuff out right away because it only failed under rare circumstances, I was able to isolate it to the `Lucene.Net` assembly by disabling optimizations, and the actual number of calls into `Lucene.Net` were limited for this test. The part about *where* it was failing was a bit confusing, though - the method doing the actual float math was returning the correct value, but this intermediate method was truncating it when it returned.
   
   That said, I haven't come up with a good explanation why casting fixes it but using `MethodImplOptons.NoOptimization` on this method and all methods that it calls does not fix it. But casting seems to make the jitter happy.


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@lucenenet.apache.org

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