Skip to content

Commit

Permalink
test word2vecsynonym token filter
Browse files Browse the repository at this point in the history
  • Loading branch information
dainiusjocas committed Aug 10, 2023
1 parent e316bfe commit 00ae49a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -5,6 +5,7 @@ For a list of breaking changes, check [here](#breaking-changes).
## Unreleased

- Bump Lucene to 9.7.0
- Support for the `Word2VecSynonymFilter`
- Update `com.github.clj-easy/graal-build-time` to 1.0.5
- Load Analyzers via SPI

Expand Down
3 changes: 2 additions & 1 deletion test/lmgrep/lucene/analysis_test.clj
Expand Up @@ -200,7 +200,8 @@
"hyphenationcompoundword" {"hyphenator" "test/resources/hyphenation_hyphenator.xml"}
"hunspellstem" {"dictionary" "test/resources/hunspell_dict.dic"
"affix" "test/resources/hunspell_dict.aff"}
"dropifflagged" {"dropFlags" "2"}}]
"dropifflagged" {"dropFlags" "2"}
"word2vecsynonym" {"model" "test/resources/word2vec-model.zip"}}]
(is (seq token-filter-names))
(doseq [token-filter-name token-filter-names]
(try
Expand Down
Binary file added test/resources/word2vec-model.zip
Binary file not shown.

0 comments on commit 00ae49a

Please sign in to comment.