Skip to content

Commit

Permalink
Merge branch 'master' of github.com:castorini/anserini into refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
lintool committed Sep 7, 2024
2 parents f8a96f5 + c096dff commit 360a1d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/main/frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1497,7 +1497,7 @@ brace-expansion@^1.1.7:
balanced-match "^1.0.0"
concat-map "0.0.1"

braces@^3.0.2:
braces@^3.0.3:
version "3.0.3"
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789"
integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==
Expand Down Expand Up @@ -2523,11 +2523,11 @@ merge2@^1.3.0, merge2@^1.4.1:
integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==

micromatch@^4.0.4:
version "4.0.5"
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6"
integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==
version "4.0.8"
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202"
integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==
dependencies:
braces "^3.0.2"
braces "^3.0.3"
picomatch "^2.3.1"

minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2:
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/anserini/index/IndexCollection.java
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public IndexCollection(Args args) throws Exception {
if (args.bm25Accurate) {
// Necessary during indexing as the norm used in BM25 is already determined at index time.
config.setSimilarity(new AccurateBM25Similarity());
} if (args.impact ) {
} else if (args.impact ) {
config.setSimilarity(new ImpactSimilarity());
} else {
config.setSimilarity(new BM25Similarity());
Expand Down

0 comments on commit 360a1d7

Please sign in to comment.