Basic View operations in OpenSearch #3888
Labels
help wanted
Community contributions are especially encouraged for these issues.
triaged
Issues labeled as 'Triaged' have been reviewed and are deemed actionable.
Description
Implement the basic view feature in OpenSearch that is persistent. This issue contains an initial proposal built in a proof of concept, but is not hard requirements for the feature. It is highly encouraged to make the minimal implementation and collect data from the community before investing in more advanced features such as required parameters, row level security based on identity, search pipelines, audit logging, etc...
[Proposal 1] View data
Views create a mapping to the resources that hold information to be searched over in a consistent manner. This abstraction allows for indirection with the backing indices, so they might be changed without callers being impacted. This can also be used to simplify the security model - searches over views do not require permissions to the backing indices only permissions to the view itself.
[Proposal 1] View persistence
Views are long lived objects in OpenSearch, all operations on them should be fully committed before responding to the caller. Views are intentionally created for user scenarios following a similar creation cadence to indices.
Committed implies that the updates are synchronized across all nodes in a cluster. The Cluster Metadata Store is already available and allows for acknowledging that changes have been applied to all nodes. While this data could be stored in a new purpose built index, index data replication has delays and ensuring synchronization is non-trivial to implement as is seen in the Security plugins [1].
Exit Criteria
The text was updated successfully, but these errors were encountered: