Skip to content

Commit 2541930

Browse files
committed
Adjust FieldUsageStatsIT following removal of LeafSimScorer
This is a leftover after adapting to the removal of LeafSimScorer Relates to apache/lucene#13957
1 parent f4f5073 commit 2541930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/internalClusterTest/java/org/elasticsearch/search/stats/FieldUsageStatsIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public void testFieldUsageStats() throws ExecutionException, InterruptedExceptio
105105
assertTrue(stats.hasField("field2"));
106106
// positions because of span query
107107
assertEquals(
108-
Set.of(UsageContext.TERMS, UsageContext.POSTINGS, UsageContext.FREQS, UsageContext.POSITIONS),
108+
Set.of(UsageContext.TERMS, UsageContext.POSTINGS, UsageContext.FREQS, UsageContext.POSITIONS, UsageContext.NORMS),
109109
stats.get("field2").keySet()
110110
);
111111
assertEquals(1L * numShards, stats.get("field2").getTerms());

0 commit comments

Comments
 (0)