Skip to content

Commit

Permalink
Updated search Krill and removed Lucene
Browse files Browse the repository at this point in the history
Change-Id: Ide726436e43c7308511cb8b65be76ffadeb951b5
  • Loading branch information
margaretha committed Feb 19, 2024
1 parent 8ba7a15 commit 8f0c85e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<jetty.version>11.0.19</jetty.version>
<flyway.version>10.6.0</flyway.version>
<log4j.version>2.22.1</log4j.version>
<krill.version>[0.62.0,)</krill.version>
<krill.version>[0.62.2,)</krill.version>
<koral.version>[0.42,)</koral.version>
</properties>
<profiles>
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/de/ids_mannheim/korap/web/SearchKrill.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.lucene.store.MMapDirectory;

import com.fasterxml.jackson.databind.JsonNode;

Expand Down Expand Up @@ -54,7 +53,7 @@ public SearchKrill (String path) {
jlog.error("Index not found: " + path + "!");
System.exit(-1);
}
index = new KrillIndex(new MMapDirectory(Paths.get(path)));
index = new KrillIndex(Paths.get(path));
};
}
catch (IOException e) {
Expand Down

0 comments on commit 8f0c85e

Please sign in to comment.