-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Indexing language improvements and "Add Index" endpoint
The spec has the concept of encrypted indexing which essentially is the use of blinded attributes/properties/tags in Encrypted Documents stored within a vault. Some of the language used in the spec on this subject is somewhat confusing. For instance, the term "index" is used in some places to refer to what are really just key-value attribute pairs. In database/storage terminology, in general an "index" refers to the underlying mechanism by which a database speeds up data queries. It is usually optional - queries can still be done without them. I've updated some of the terminology to be more consistent and hopefully easier to follow by using the term "attribute" when referring to the key-value pairs that may exist in Encrypted Documents and the term "index" to refer to the mechanism by which querying can be sped up. The current spec does not state how/when indexes are created. Usually with databases, indexes are manually created based on the user's/admin's needs. Along with the language changes, there's a new "index" endpoint that can be used for adding indexes based on attribute keys. For now, I've only specified how to add indexes, but in the future the endpoint could be used to remove/modify existing indexes.
- Loading branch information
Derek Trider
committed
Apr 27, 2022
1 parent
ed66c93
commit 9c9d6a3
Showing
1 changed file
with
53 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters