jpountz commented on code in PR #12249: URL: https://github.com/apache/lucene/pull/12249#discussion_r1226846973
########## lucene/core/src/java/org/apache/lucene/util/graph/GraphTokenStreamFiniteStrings.java: ########## @@ -45,6 +45,8 @@ * different paths of the {@link Automaton}. */ public final class GraphTokenStreamFiniteStrings { + /** Maximum level of recursion allowed in recursive operations. */ + public static final int MAX_RECURSION_LEVEL = 1000; Review Comment: let's make it private? -- 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