meilisearch/MeiliSearch

Change key actions to be bitflags

Open

#4,645 创建于 2024年5月21日

在 GitHub 查看
 (11 评论) (0 反应) (0 负责人)Rust (733 fork)batch import
good first issuemaintenance

仓库指标

Star
 (20,887 star)
PR 合并指标
 (平均合并 11天 20小时) (30 天内合并 41 个 PR)

描述

Currently, the Meilisearch action keys are single numbers and therefore cannot be combined. It's not possible to OR them NOT them. I needed to do a basic documents.add | documents.delete for the edit documents by using a function feature.

We must use bitflags to define those actions and be able to combine them. We could have 32 or 64 different combinable actions. We already use this library in heed and it works very well.

贡献者指南