meilisearch/MeiliSearch

Change key actions to be bitflags

Open

#4.645 aberto em 21 de mai. de 2024

Ver no GitHub
 (11 comments) (0 reactions) (0 assignees)Rust (733 forks)batch import
good first issuemaintenance

Métricas do repositório

Stars
 (20.887 stars)
Métricas de merge de PR
 (Mesclagem média 4d 3h) (37 fundiu PRs em 30d)

Description

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.

Guia do colaborador