dweiss commented on code in PR #14350:
URL: https://github.com/apache/lucene/pull/14350#discussion_r2000465944


##########
lucene/core/src/java/org/apache/lucene/util/automaton/Automata.java:
##########
@@ -608,7 +608,24 @@ public static Automaton makeStringUnion(Iterable<BytesRef> 
utf8Strings) {
     if (utf8Strings.iterator().hasNext() == false) {
       return makeEmpty();
     } else {
-      return StringsToAutomaton.build(utf8Strings, false);
+      return StringsToAutomaton.build(utf8Strings, false, false, false);
+    }
+  }
+
+  /**
+   * Returns a new (deterministic and minimal) automaton that accepts the 
union of the given
+   * collection of {@link BytesRef}s representing UTF-8 encoded strings.
+   *
+   * @param utf8Strings The input strings, UTF-8 encoded. The collection must 
be in sorted order.
+   * @return An {@link Automaton} accepting all input strings. The resulting 
automaton is codepoint
+   *     based (full unicode codepoints on transitions).
+   */
+  public static Automaton makeCaseInsensitiveStringUnion(

Review Comment:
   turkic parameter is missing from the javadoc.



-- 
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

Reply via email to