meilisearch/MeiliSearch

Change key actions to be bitflags

Ouverte

#4 645 ouverte le 21 mai 2024

 (11 commentaires) (0 réaction) (0 personne assignée)Rust (2 542 forks)batch import
good first issuemaintenance

Métriques du dépôt

Stars
 (57 572 étoiles)
Métriques de merge PR
 (Merge moyen 11j 20h) (41 PRs mergées en 30 j)

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.

Guide contributeur