Skip to content

Commit efecb34

Browse files
fix QueryPhaseTests.testMaxScoreWithSortOnScoreAndCollapsingResults (#19457)
Signed-off-by: guojialiang <[email protected]>
1 parent db4e85f commit efecb34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/test/java/org/opensearch/search/query/QueryPhaseTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ public void testMaxScoreWithSortOnScoreAndCollapsingResults() throws Exception {
11061106
IndexReader reader = DirectoryReader.open(dir);
11071107
QueryShardContext queryShardContext = mock(QueryShardContext.class);
11081108
when(queryShardContext.fieldMapper("user")).thenReturn(
1109-
new NumberFieldType("user", NumberType.INTEGER, true, false, true, false, null, Collections.emptyMap())
1109+
new NumberFieldType("user", NumberType.INTEGER, true, false, true, false, false, null, Collections.emptyMap())
11101110
);
11111111

11121112
TestSearchContext context = new TestSearchContext(queryShardContext, indexShard, newContextSearcher(reader, executor));

0 commit comments

Comments
 (0)