From 91e78dcbe8f9f1c278f01f0f983b8028b898ed04 Mon Sep 17 00:00:00 2001 From: uboness Date: Sat, 17 Aug 2013 23:42:01 +0200 Subject: [PATCH] fixed RandomScoreFunctionTests --- .../search/functionscore/RandomScoreFunctionTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/test/integration/search/functionscore/RandomScoreFunctionTests.java b/src/test/java/org/elasticsearch/test/integration/search/functionscore/RandomScoreFunctionTests.java index 60159151871..b270131458e 100644 --- a/src/test/java/org/elasticsearch/test/integration/search/functionscore/RandomScoreFunctionTests.java +++ b/src/test/java/org/elasticsearch/test/integration/search/functionscore/RandomScoreFunctionTests.java @@ -57,7 +57,7 @@ public class RandomScoreFunctionTests extends AbstractSharedClusterTest { int docCount = atLeast(100); for (int i = 0; i < docCount; i++) { - index("test", "type", "" + docCount, jsonBuilder().startObject().endObject()); + index("test", "type", "" + i, jsonBuilder().startObject().endObject()); } flush();