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 2020/11/05 04:08:58 UTC
[GitHub] [lucenenet] NightOwl888 commented on issue #296: IndexOutOfRangeException when searching
NightOwl888 commented on issue #296:
URL: https://github.com/apache/lucenenet/issues/296#issuecomment-722128836
@willson556
Thanks for submitting a working failure case. I was able to use it to create a test project that contained a failing test. From there, I was able to confirm that the error was introduced between 4.8.0-beta00007 and 4.8.0-beta00008 and by using git's detached mode the issue was traced to commit https://github.com/apache/lucenenet/commit/0eaf76540b8de326d1aa9ca24f4b5d6425a9ae38. Unfortunately, I had to start all over again at that point, since it was a merge of 60 commits, but eventually I ended up here: https://github.com/apache/lucenenet/commit/e1ead061df6ab5371979040ae8071b1bf8b18070.
It turned out to be a simple misinterpretation that `id` means "unique", when in fact the object reference was the unique identifier that should be used in the `Equals()` implementation.
----------------------------------------------------------------
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