https://github.com/zviryatko/test-task
https://github.com/zviryatko/test-task
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/zviryatko/test-task
- Owner: zviryatko
- Archived: true
- Created: 2024-02-20T17:05:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-21T12:31:16.000Z (over 2 years ago)
- Last Synced: 2025-02-16T12:57:38.741Z (over 1 year ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Setup
1. Clone the repo.
2. `docker-compose up -d`
3. `docker compose run --rm app python3 index-data.py`- this will index the data into the elasticsearch
4. open http://0.0.0.0:5000
Use the option "Use KNN" to enable search with K-Nearest Neighbors algorithm with the text match search.
Articles are placed in `articles.csv` file.