Reproduction of MeiliSearch's error relating to #2807
Error is fixed in MeiliSearch >= v0.30.0
Note: Used Python 3.10.6
-
Clone this repository
git clone git@github.com:Wattyyy/ms-error-reproduction.git && cd ms-error-reproduction
-
Install libraries
pip install -r requirements.txt
-
Run MeiliSearch
docker run -it --rm -p 7700:7700 -v $(pwd)/meili_data:/meili_data getmeili/meilisearch:v0.29
-
Add documents of the review dataset
This step would take a minute.
python reviews_index.py
-
Add documents of the mc4 dataset
This step would take a minute.
python mc4_index.py
-
Get tasks after several minutes, the error will be reproduced
python get_tasks.py