diff options
author | Erin van der Veen | 2017-12-15 12:42:51 +0100 |
---|---|---|
committer | Erin van der Veen | 2017-12-15 12:42:51 +0100 |
commit | e555d48548d294c80b5ac7502cec07d3d469d04b (patch) | |
tree | b0c579f196ac513f6ce1c9cc90ed0d95990dd15e /Install.md | |
parent | Calculate term frequency (diff) | |
parent | Add analysis on qrels (diff) |
Merge branch 'implementation' of github.com:rubigdata/IR-2017-4 into implementation
Diffstat (limited to 'Install.md')
-rw-r--r-- | Install.md | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/Install.md b/Install.md deleted file mode 100644 index 212b0cc..0000000 --- a/Install.md +++ /dev/null @@ -1,45 +0,0 @@ -# Installation instructions - -We use software by the [Nordlys][] group. -The installation instructions are [here](http://nordlys.readthedocs.io/en/latest/installation.html). - -For now, we don't work on the full dataset so we use step 3.1B, **not** 3.1A. - -Concretely, the following needs to be done: - -```bash -# Requirements -apt install mongodb -service mongodb start - -# Nordlys repo -git clone https://github.com/iai-group/nordlys.git -cd nordlys - -# Install python code -pip install -r requirements.txt - -# Load data -./scripts/load_mongo_dumps.sh -``` - -If you get encoding errors, you may need to change `python` to `python3` in -the scripts in `./scripts`. - -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 only adds 97 documents which does not seem reasonable. - -[Nordlys]: http://nordlys.cc/ |