diff --git a/Dockerfile b/Dockerfile index cc8b812..8c963f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,8 +21,5 @@ COPY index index COPY search search COPY interact interact -# HACK FOR WAPO -COPY topic_reader.py topic_reader.py - # Set working directory WORKDIR /work diff --git a/do.sh b/do.sh index d58723c..4d629b2 100755 --- a/do.sh +++ b/do.sh @@ -1,5 +1,4 @@ #!/bin/sh -pushd /export/data/ir/jig echo Indexing collections python3 run.py prepare \ @@ -42,4 +41,3 @@ python3 run.py search \ --collection core18 \ --opts out_file_name="core18-disj" mode="disjunctive" -popd diff --git a/init b/init index f530bdd..c8dee32 100755 --- a/init +++ b/init @@ -2,12 +2,10 @@ echo Downloading anserini.jar... wget -q http://central.maven.org/maven2/io/anserini/anserini/0.4.0/anserini-0.4.0-fatjar.jar -O anserini.jar echo Downloading OldDog... -wget -q https://github.com/Chriskamphuis/olddog/archive/v0.2.0.tar.gz -tar xzf v0.2.0.tar.gz -mv olddog-0.2.0 olddog +wget -q https://github.com/Chriskamphuis/olddog/archive/v1.0.0.tar.gz +tar xzf v1.0.0.tar.gz +mv olddog-1.0.0 olddog cd olddog -# REMOVE -cp /topic_reader.py src/main/python -# /REMOVE + echo Building OldDog... mvn -q clean package appassembler:assemble