[Test] set search request size testGeohashCellFilter
The default of 10 is not good enough as previously thought.
This commit is contained in:
parent
13d910f016
commit
44097b358d
|
@ -533,8 +533,10 @@ public class GeoFilterTests extends ElasticsearchIntegrationTest {
|
|||
builder.cacheKey(null);
|
||||
}
|
||||
try {
|
||||
SearchResponse response = client().prepareSearch("locations").setQuery(QueryBuilders.matchAllQuery()).setPostFilter(builder).get();
|
||||
assertHitCount(response, expectedCounts.get(builder));
|
||||
long expectedCount = expectedCounts.get(builder);
|
||||
SearchResponse response = client().prepareSearch("locations").setQuery(QueryBuilders.matchAllQuery())
|
||||
.setPostFilter(builder).setSize((int) expectedCount).get();
|
||||
assertHitCount(response, expectedCount);
|
||||
String[] expectedIds = expectedResults.get(builder);
|
||||
if (expectedIds == null) {
|
||||
ArrayList<String> ids = new ArrayList<>();
|
||||
|
|
Loading…
Reference in New Issue