diff --git a/src/test/java/org/elasticsearch/search/suggest/CompletionSuggestSearchTests.java b/src/test/java/org/elasticsearch/search/suggest/CompletionSuggestSearchTests.java index 658a37bb111..a7cb4ba5833 100644 --- a/src/test/java/org/elasticsearch/search/suggest/CompletionSuggestSearchTests.java +++ b/src/test/java/org/elasticsearch/search/suggest/CompletionSuggestSearchTests.java @@ -786,7 +786,7 @@ public class CompletionSuggestSearchTests extends ElasticsearchIntegrationTest { ).get(); // Higher weight so it's ranked first: - client().prepareIndex(INDEX, TYPE, "1").setSource(jsonBuilder() + client().prepareIndex(INDEX, TYPE, "2").setSource(jsonBuilder() .startObject().startObject(FIELD) .startArray("input").value("Feed the trolls").endArray() .field("weight", 10).endObject().endObject()