FT.ALIASADD, FT.ALIASDEL, FT.ALIASUPDATE Implementation Proposal #2565
jonathanc-n
started this conversation in
General
Replies: 1 comment
-
Is someone able to take a look at this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Overview
These commands are used to add, delete and update alias (names which can substitute keys).
I'm thinking to store a table for all the Aliases in IndexManager. Here are some of the features:
Metadata
The specifics stored in search_encoding.h:
Can use perfect hashing to create 64 bit values to make lesser memory overhead. Due to alias being made one at a time, there will be limited time overhead from hashing.
Alias table
| Hashed Alias Name (64 bits) | Index Name (32 bytes) |
Index table
| Hashed Index Name (64 bits) | Alias Name/Array (32 bytes +) | - this is due to multiple alias mapped to same index
Not sure whether to store both maps as pair values, using encoding/decoding, or to operate on them as slices on storage. What are your thoughts for this?
Beta Was this translation helpful? Give feedback.
All reactions