Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 827 Bytes

README.md

File metadata and controls

45 lines (34 loc) · 827 Bytes

search

graph LR
    S[search] --read--> I[(info)]
    S --read--> M[(media)]
    S --write--> MS[(MeiliSearch)]

Meilisearch is exposed on a separate domain: https://search.alsosee.info/ and used by finder.

Local developmenth

Checkout info and media directories in the same directory as this repo:

tree .
├── info
├── media
└── search

Run MeiliSearch:

docker compose up search -d

Create index:

curl -X "POST" "http://127.0.0.1:7700/indexes" \
     -H 'Authorization: Bearer secret' \
     -H 'Content-Type: application/json' \
     -d $'{
  "uid": "info",
  "primaryKey": "ID"
}'

Run the app:

docker compose up indexer