From 87895a9e7dfc5c6c9d367b8dd922dfc84bcb1490 Mon Sep 17 00:00:00 2001 From: Paul Sanders Date: Mon, 31 Jul 2023 13:22:12 -0400 Subject: [PATCH] Add missing packages and update README --- dbs/meilisearch/README.md | 14 ++++++++++++-- dbs/meilisearch/requirements.txt | 4 +++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/dbs/meilisearch/README.md b/dbs/meilisearch/README.md index fa2abcc..c12cdbf 100644 --- a/dbs/meilisearch/README.md +++ b/dbs/meilisearch/README.md @@ -24,7 +24,17 @@ python -m pip install -r requirements.txt ``` ---- +## Create a .env file + +In the .env file add the following parameters, updating the values to match your setup + +``` +meili_service=meilisearch +meili_master_key=masterKey +meili_port=7700 +meili_url=127.0.0.1 +tag=latest +``` ## Step 1: Set up containers @@ -51,7 +61,7 @@ The first step is to ingest the wine reviews dataset into Meilisearch. Data is a ```sh cd scripts -python bulk_index.py +python bulk_index_async.py ``` * This script first sets important items like which fields are searchable, filterable and sortable: diff --git a/dbs/meilisearch/requirements.txt b/dbs/meilisearch/requirements.txt index 491d474..7680483 100644 --- a/dbs/meilisearch/requirements.txt +++ b/dbs/meilisearch/requirements.txt @@ -7,4 +7,6 @@ fastapi~=0.100.0 httpx>=0.24.0 aiohttp>=3.8.4 uvicorn>=0.21.0, <1.0.0 -srsly>=2.4.6 \ No newline at end of file +srsly>=2.4.6 +codetiming>=1.4.0 +tqdm>=4.65.0