Skip to content

Apache Lucene open-source search software

#12715: remove deprecated FSTCompiler constructor since this is an experimental/internal API

Mike McCandless63759a463dec
diff --git a/lucene/core/src/java/org/apache/lucene/util/fst/FSTCompiler.java b/lucene/core/src/java/org/apache/lucene/util/fst/FSTCompiler.java
index a8f20e925bb..56c8f18fc48 100644
--- a/lucene/core/src/java/org/apache/lucene/util/fst/FSTCompiler.java
+++ b/lucene/core/src/java/org/apache/lucene/util/fst/FSTCompiler.java
@@ -122,18 +122,6 @@ public class FSTCompiler<T> {
final BytesStore bytes;
- /**
- * Instantiates an FST/FSA builder with default settings and pruning options turned off. For more
- * tuning and tweaking, see {@link Builder}.
- *
- * @deprecated Use FSTCompiler.Builder instead. This method will be removed in an upcoming major
- * release.
- */
- @Deprecated
- public FSTCompiler(FST.INPUT_TYPE inputType, Outputs<T> outputs) {
- this(inputType, 32.0, outputs, true, 15, 1f);
- }
-
private FSTCompiler(
FST.INPUT_TYPE inputType,
double suffixRAMLimitMB,