Elasa Search
Convert Elesa Menu and POIs to Addok format, then search on these.
docker-compose -f docker-compose.yml -f docker-compose-tools.yml build
Setup configuration in data/config.yaml
fetch_http_headers:
Secret: foo
sources:
cdt40:
api: https://cdt40.carto.guide/api.teritorio/geodata/v0.1
themes:
- trourism
Setup configuration in data
and fetch data:
rm data/*.sjson
docker-compose -f docker-compose-tools.yml run --rm t2addok ruby update.rb /data/config.yaml
docker-compose up -d
docker-compose exec redis redis-cli FLUSHALL
docker-compose exec addok bash -c "cat /data/*.sjson | addok batch && addok ngrams"
docker-compose exec redis redis-cli BGSAVE