To run this project you need to have installed:
- Python 3.5
- Python pip
- Java 7+ - Just for Elasticsearch to run
- Elasticsearch
To install this search engine, download it from the official site and unzip it to this project root folder.
After installing pip, run on terminal
$ pip install -r requirements.txt
remember that you need to be root
or run as sudo
Before running this program, we have to start elasticsearch. If the elasticsearch folder is in the project root folder, you can do that just doing
$ ./start.sh
if not, go to elasticsearch root folder and run ./elasticsearch
from elasticsearch-version/bin
After elasticsearch is running, open another terminal window and type ./index.sh
to run the project
This will read all files from WT10G/sample folder and index them to foo index in elasticsearch running on your machine