Skip to content

Conversation

@apmoriarty
Copy link
Collaborator

  • ingest supports writing bitset global index keys
  • add ability to suppress standard global index keys

Add ability to disable writing standard shard index keys
@apmoriarty apmoriarty marked this pull request as ready for review January 16, 2026 16:55
Comment on lines +397 to +401
tableName = conf.get(SHARD_BITSET_INDEX_TABLE_NAME, null);
if (null != tableName) {
tableNames.add(tableName);
}

Copy link
Collaborator

@FineAndDandy FineAndDandy Jan 17, 2026

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

Copy link
Collaborator

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);
Copy link
Collaborator

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() {

Copy link
Collaborator

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() {

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants