From 931c0a8fe9d1256d022d1ecd3f0f50c92396a364 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Fri, 6 Oct 2017 11:55:05 +0200 Subject: Update installation --- Install.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Install.md') diff --git a/Install.md b/Install.md index 7be5e33..10727e2 100644 --- a/Install.md +++ b/Install.md @@ -26,12 +26,20 @@ pip install -r requirements.txt If you get encoding errors, you may need to change `python` to `python3` in the scripts in `./scripts`. -After this, the documentation claims that the following should work: +Now we need elasticsearch and build the index: + +```bash +wget -qO- https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.3.4/elasticsearch-2.3.4.tar.gz | tar xzv +cd elasticsearch/bin +./elasticsearch +``` + +And in an other shell: ```bash ./scripts/build_dbpedia_index.sh ``` -However, that currently yields connection errors as port 9002 is closed. +However, that currently only adds 97 documents which does not seem reasonable. [Nordlys]: http://nordlys.cc/ -- cgit v1.2.3