Skip to content

Ukazka slovenskeho fulltext search s pouzitim elasticsearch.

Notifications You must be signed in to change notification settings

maroshmka/sk-search

Repository files navigation

SK Search

Full text search v slovencine implementovany s pomocou Flask+Elasticsearch.

Funkcionalita

  • filtre - datum, cena
  • aggregacie - kategorie, mesto
  • vyhladavanie nad viacerymi fieldami (cislo, description, header)

Pre spustenie projektu - docker-compose up.
V prehliadaci na localhost:5000 by mal byt pristupny vyhladavac.

img

Docker-compose issue

V pripade problemov s compose file-om:

  1. Nainstalovat virtual env a spustit web appku
> virtualenv . venv
> . venv/bin/activate
> pip3 install -r requirements.txt
> sh run_app.sh
  1. Nainstalovat elasticsearch a nahrat data
> docker build . -f elastics.Dockerfile elasticslemma
> docker run --name elasticslemma -p 9200:9200 elasticslemma
> . venv/bin/activate
> python3 import_data.py --all

About

Ukazka slovenskeho fulltext search s pouzitim elasticsearch.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published