File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
server/src/test/java/org/elasticsearch/index/mapper/vectors Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -681,12 +681,9 @@ public void testRescoreOversampleQueryOverrides() {
681681
682682 public void testFilterSearchThreshold () {
683683 List <Tuple <DenseVectorFieldMapper .ElementType , Function <Query , KnnSearchStrategy >>> cases = List .of (
684- Tuple .tuple (FLOAT , q -> q instanceof PatienceKnnVectorQuery ?
685- null : ((ESKnnFloatVectorQuery ) q ).getStrategy ()),
686- Tuple .tuple (BYTE , q -> q instanceof PatienceKnnVectorQuery ?
687- null : ((ESKnnByteVectorQuery ) q ).getStrategy ()),
688- Tuple .tuple (BIT , q -> q instanceof PatienceKnnVectorQuery ?
689- null : ((ESKnnByteVectorQuery ) q ).getStrategy ())
684+ Tuple .tuple (FLOAT , q -> q instanceof PatienceKnnVectorQuery ? null : ((ESKnnFloatVectorQuery ) q ).getStrategy ()),
685+ Tuple .tuple (BYTE , q -> q instanceof PatienceKnnVectorQuery ? null : ((ESKnnByteVectorQuery ) q ).getStrategy ()),
686+ Tuple .tuple (BIT , q -> q instanceof PatienceKnnVectorQuery ? null : ((ESKnnByteVectorQuery ) q ).getStrategy ())
690687 );
691688 for (var tuple : cases ) {
692689 DenseVectorFieldType fieldType = new DenseVectorFieldType (
You can’t perform that action at this time.
0 commit comments