Skip to content

Conversation

@PragmaTwice
Copy link
Member

@PragmaTwice PragmaTwice commented Feb 9, 2024

before:

tag field metadata encoding:

key (index name) | TAG_FIELD_META | field name -> separator | case sensitive

numeric field metadata encoding:

key (index name) | NUM_FIELD_META | field name -> (nil)

after:

tag field metadata encoding:

key (index name) | TAG_FIELD_META | field name -> flag | separator | case sensitive

numeric field metadata encoding:

key (index name) | NUM_FIELD_META | field name -> flag

flag:

|              8 bit              |
|---------------------------------|
|  noindex: 1bit | reserved: 7bit |

noindex indicates we don't create index for this field, which is same as in redisearch.

@PragmaTwice PragmaTwice requested a review from git-hulk February 9, 2024 13:51
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 9, 2024

@PragmaTwice PragmaTwice merged commit 4fb22be into apache:unstable Feb 10, 2024
JoverZhang pushed a commit to JoverZhang/kvrocks that referenced this pull request Feb 24, 2024
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