Package org.apache.lucene.util.automaton
Class DaciukMihovAutomatonBuilder
java.lang.Object
org.apache.lucene.util.automaton.DaciukMihovAutomatonBuilder
Deprecated.
Builds a minimal, deterministic
Automaton
that accepts a set of strings. The algorithm
requires sorted input data, but is very fast (nearly linear with the input size).- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic Automaton
Deprecated.Please seeAutomata.makeStringUnion(Iterable)
instead
-
Field Details
-
MAX_TERM_LENGTH
Deprecated.This builder rejects terms that are more than 1k chars long since it then uses recursion based on the length of the string, which might cause stack overflows.- See Also:
-
-
Method Details
-
build
Deprecated.Please seeAutomata.makeStringUnion(Iterable)
insteadBuild a minimal, deterministic automaton from a sorted list ofBytesRef
representing strings in UTF-8. These strings must be binary-sorted.
-
Automata.makeStringUnion(Iterable)