-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Feature Request] Use Roaring64Bitmap
to optimize termsQury
query in Long type
#15638
Comments
@msfroh, @bowenlan-amzn, please help confirm it. |
Hmm... we'll need to think about backward compatibility and serialization. In particular, we currently rely on Checking the JavaDoc for
If we do want to add support for It does look like there's a format extension designed for 64-bits: https://github.com/RoaringBitmap/RoaringFormatSpec?tab=readme-ov-file#extension-for-64-bit-implementations, but that not also says:
I'm not totally opposed to 64-bit support, but I worry that the format may not be fully settled yet, which might cause maintenance problems down the road. |
@msfroh Very thank you for your detailed reply. It seems no suitable to use Roaring64Bitmap for now, I will close the issue, If there is any progress, I will open it again. |
Is your feature request related to a problem? Please describe
In #14774, we introduce RoaringBitmap to optimize
termsQury
query in Integer type,Roaring64Bitmap
andRoaring64NavigableMap
are also provided to encode Long, which can be used intermsQury
query in Long type.Describe the solution you'd like
As
Roaring64Bitmap
seems to be more space-efficient, If we could use it to optimizetermsQury
query in Long type? I'm please to implement it.Related component
Search
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: