diff --git a/lucene/core/src/java/org/apache/lucene/util/fst/Util.java b/lucene/core/src/java/org/apache/lucene/util/fst/Util.java index 9083a3d0c23..d435bcfdd77 100644 --- a/lucene/core/src/java/org/apache/lucene/util/fst/Util.java +++ b/lucene/core/src/java/org/apache/lucene/util/fst/Util.java @@ -123,6 +123,7 @@ public final class Util { * Expert: like {@link Util#getByOutput(FST, long)} except reusing * BytesReader, initial and scratch Arc, and result. */ + @Deprecated public static IntsRef getByOutput(FST fst, long targetOutput, BytesReader in, Arc arc, Arc scratchArc, IntsRefBuilder result) throws IOException { long output = arc.output; int upto = 0;