We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e22e09 commit bc90d74Copy full SHA for bc90d74
test/framework/src/main/java/org/elasticsearch/search/aggregations/AggregatorTestCase.java
@@ -645,7 +645,7 @@ public void testSupportedFieldTypes() throws IOException {
645
indexWriter.close();
646
647
try (IndexReader indexReader = DirectoryReader.open(directory)) {
648
- IndexSearcher indexSearcher = newSearcher(indexReader, true, true);
+ IndexSearcher indexSearcher = newIndexSearcher(indexReader);
649
AggregationBuilder aggregationBuilder = createAggBuilderForTypeTest(fieldType, fieldName);
650
651
// TODO in the future we can make this more explicit with expectThrows(), when the exceptions are standardized
0 commit comments