diff --git a/server/src/main/java/org/elasticsearch/index/query/MatchQueryBuilder.java b/server/src/main/java/org/elasticsearch/index/query/MatchQueryBuilder.java index dc2054eda47..32d0fbbb37e 100644 --- a/server/src/main/java/org/elasticsearch/index/query/MatchQueryBuilder.java +++ b/server/src/main/java/org/elasticsearch/index/query/MatchQueryBuilder.java @@ -305,15 +305,6 @@ public class MatchQueryBuilder extends AbstractQueryBuilder { return this.fuzzyTranspositions; } - /** - * Sets whether format based failures will be ignored. - * @deprecated use #lenient() instead - */ - @Deprecated - public MatchQueryBuilder setLenient(boolean lenient) { - return lenient(lenient); - } - /** * Sets whether format based failures will be ignored. */ diff --git a/server/src/main/java/org/elasticsearch/index/query/MoreLikeThisQueryBuilder.java b/server/src/main/java/org/elasticsearch/index/query/MoreLikeThisQueryBuilder.java index bdd11203b45..6f87ac0fda7 100644 --- a/server/src/main/java/org/elasticsearch/index/query/MoreLikeThisQueryBuilder.java +++ b/server/src/main/java/org/elasticsearch/index/query/MoreLikeThisQueryBuilder.java @@ -752,21 +752,6 @@ public class MoreLikeThisQueryBuilder extends AbstractQueryBuilder