Skip to content
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

add ip addr to columnar #1805

Merged
merged 1 commit into from
Jan 19, 2023
Merged

add ip addr to columnar #1805

merged 1 commit into from
Jan 19, 2023

Conversation

PSeitz
Copy link
Contributor

@PSeitz PSeitz commented Jan 18, 2023

No description provided.

@@ -25,12 +27,12 @@ struct ColumnOperationMetadata {

impl ColumnOperationMetadata {
fn to_code(self) -> u8 {
place_bits::<0, 4>(self.len) | place_bits::<4, 8>(self.op_type.to_code())
place_bits::<0, 6>(self.len) | place_bits::<6, 8>(self.op_type.to_code())
Copy link
Collaborator

Choose a reason for hiding this comment

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

why?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

4 bits are not enough for length 16

@PSeitz PSeitz merged commit f9abd25 into main Jan 19, 2023
@PSeitz PSeitz deleted the use_columnar branch January 19, 2023 04:36
Hodkinson pushed a commit to Hodkinson/tantivy that referenced this pull request Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants