-
Notifications
You must be signed in to change notification settings - Fork 272
Ingest supports writing bitset index keys #3384
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
base: integration
Are you sure you want to change the base?
Conversation
apmoriarty
commented
Jan 16, 2026
- ingest supports writing bitset global index keys
- add ability to suppress standard global index keys
Add ability to disable writing standard shard index keys
| tableName = conf.get(SHARD_BITSET_INDEX_TABLE_NAME, null); | ||
| if (null != tableName) { | ||
| tableNames.add(tableName); | ||
| } | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only add this if enabled
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see that isn't the previous pattern of the method, so feel free to take it or leave it
| String shardId = shard.substring(underscoreIndex + 1); | ||
| int offset = Integer.parseInt(shardId); | ||
| BitSet bitset = new BitSet(); | ||
| bitset.set(offset); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will cause the underlying BitSet to be a dynamic size. This may or may not be a problem, just noting it here in case its relevant where the BitSet come together for different Values
|
|
||
| @Test | ||
| public void testSimpleReverseIndexWithBitsetIndex() { | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO
|
|
||
| @Test | ||
| public void testMaskedSimpleReverseIndexWithBitsetIndex() { | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO