Skip to content

Commit

Permalink
Merge pull request #43 from sanders41/meilisearch-setup
Browse files Browse the repository at this point in the history
Add missing packages and update README
  • Loading branch information
prrao87 authored Jul 31, 2023
2 parents d36089f + 87895a9 commit dc0ff4b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
14 changes: 12 additions & 2 deletions dbs/meilisearch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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:
Expand Down
4 changes: 3 additions & 1 deletion dbs/meilisearch/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
srsly>=2.4.6
codetiming>=1.4.0
tqdm>=4.65.0

0 comments on commit dc0ff4b

Please sign in to comment.