-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Index out of order for IntFieldIndex
#113
Comments
Thank you for the bug report! I suspect this issue is related to #96 and #77. They may be all the same underlying issue. The values are sorted based on how the they are stored in the index. PR #93 recently fixed a similar problem for the |
FWIW I initially tried to fix this in #93, but since |
I had a flash of inspiration that just flipping the most significant bit should scale them into the proper range for byte-wise comparison. |
Awesome! |
With the following code (slight modification of example code), I found results of the rows being out of order.
Based on the example I would assume that the results would be in order.
Code:
Output:
The text was updated successfully, but these errors were encountered: