Skip to content

Commit

Permalink
Fixing compilation error in SearchSourceBuilderTests#testStoredFields…
Browse files Browse the repository at this point in the history
…Usage (elastic#105656)
  • Loading branch information
pmpailis authored Feb 20, 2024
1 parent 7fb4b74 commit 0d0b319
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ public void testStoredFieldsUsage() throws IOException {
for (String storedFieldRest : storedFieldRestVariations) {
SearchUsageHolder searchUsageHolder = new UsageService().getSearchUsageHolder();
try (XContentParser parser = createParser(JsonXContent.jsonXContent, storedFieldRest)) {
new SearchSourceBuilder().parseXContent(parser, true, searchUsageHolder);
new SearchSourceBuilder().parseXContent(parser, true, searchUsageHolder, nf -> false);
SearchUsageStats searchUsageStats = searchUsageHolder.getSearchUsageStats();
Map<String, Long> sectionsUsage = searchUsageStats.getSectionsUsage();
assertEquals(
Expand Down

0 comments on commit 0d0b319

Please sign in to comment.