Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/origin/sigir20-ablation' into s…
Browse files Browse the repository at this point in the history
…igir19
  • Loading branch information
khituras committed Jan 17, 2020
2 parents 618b883 + 7c6a60f commit b218a9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/runSmacHttpServer.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#SBATCH --mem 20g
#SBATCH --mem 25g
#SBATCH --cpus-per-task 1
#SBATCH -J PMOPTSVR
#SBATCH --nodelist h4
java -cp .:"target/lib/*":target/classes de.julielab.ir.paramopt.HttpParamOptServer
java -Xmx20g -cp .:"target/lib/*":target/classes de.julielab.ir.paramopt.HttpParamOptServer
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class ElasticSearch implements SearchEngine {

public ElasticSearch() {
cache = cacheMap.compute(Thread.currentThread(), (k,v) ->
v != null ? v : CacheService.getInstance().getCacheAccess("elasticsearch.db", "ElasticSearchResultCache", "string", "java")
v != null ? v : CacheService.getInstance().getCacheAccess("elasticsearch.db", "ElasticSearchResultCache", "string", "java", 0)
);
// This disables the caching. I only do this for parameter optimization because there won't be many - if any - cache hits.
// For experiments where the queries might often be the same, use the cache assignment above.
Expand Down

0 comments on commit b218a9e

Please sign in to comment.