From addf3bb52d4360456762adb899f77aaf46db041c Mon Sep 17 00:00:00 2001 From: Michael Stockerl Date: Tue, 19 Apr 2016 20:23:27 +0200 Subject: [PATCH] #14944 Remove obsolete hasResponseFromRequest method --- .../elasticsearch/index/query/MoreLikeThisQueryBuilder.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/src/main/java/org/elasticsearch/index/query/MoreLikeThisQueryBuilder.java b/core/src/main/java/org/elasticsearch/index/query/MoreLikeThisQueryBuilder.java index fcda9ae3a8e..5a32fa5085f 100644 --- a/core/src/main/java/org/elasticsearch/index/query/MoreLikeThisQueryBuilder.java +++ b/core/src/main/java/org/elasticsearch/index/query/MoreLikeThisQueryBuilder.java @@ -932,10 +932,6 @@ public class MoreLikeThisQueryBuilder extends AbstractQueryBuilder selectedItems) { - return selectedItems.contains(new Item(response.getIndex(), response.getType(), response.getId())); - } - private static void handleExclude(BooleanQuery.Builder boolQuery, Item[] likeItems) { // artificial docs get assigned a random id and should be disregarded List uids = new ArrayList<>();