rmuir commented on code in PR #14193: URL: https://github.com/apache/lucene/pull/14193#discussion_r1943652340
########## lucene/core/src/java/org/apache/lucene/util/automaton/Automata.java: ########## @@ -140,6 +141,32 @@ public static Automaton makeCharRange(int min, int max) { return a; } + /** Returns a new minimal automaton that accepts any of the provided codepoints */ + public static Automaton makeCharSet(int[] codepoints) { Review Comment: I have a test for dups :) I don't have many tests but I tested that one. -- 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