zhaih commented on code in PR #12246: URL: https://github.com/apache/lucene/pull/12246#discussion_r1194674783
########## lucene/analysis/common/src/java/org/apache/lucene/analysis/synonym/word2vec/Word2VecSynonymProvider.java: ########## @@ -85,7 +86,7 @@ public List<TermAndBoost> getSynonyms( SIMILARITY_FUNCTION, hnswGraph, null, - word2VecModel.size()); + NO_LIMIT_ON_VISITED_NODES); Review Comment: FYI I applied the same change to https://github.com/apache/lucene/pull/12235 (to unblock that PR) without having this as a static final, you can still make it static here if you want tho :) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org