Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
Signed-off-by: bowenlan-amzn <[email protected]>
  • Loading branch information
bowenlan-amzn committed Jan 8, 2025
1 parent 941a5c2 commit 8de4f5b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
import org.opensearch.search.DocValueFormat;
import org.opensearch.search.MultiValueMode;
import org.opensearch.search.query.BitmapDocValuesQuery;
import org.opensearch.search.query.BitmapIndexQuery;
import org.junit.Before;

import java.io.ByteArrayInputStream;
Expand Down Expand Up @@ -962,7 +963,7 @@ public void testBitmapQuery() throws IOException {

NumberFieldType ft = new NumberFieldMapper.NumberFieldType("field", NumberType.INTEGER);
assertEquals(
new IndexOrDocValuesQuery(NumberType.bitmapIndexQuery("field", r), new BitmapDocValuesQuery("field", r)),
new IndexOrDocValuesQuery(new BitmapIndexQuery("field", r), new BitmapDocValuesQuery("field", r)),
ft.bitmapQuery(bitmap)
);

Expand Down

0 comments on commit 8de4f5b

Please sign in to comment.