Skip to content

[8.18] Fix knn search error when dimensions are not set (#131081)#131122

Merged
carlosdelest merged 1 commit intoelastic:8.18from
carlosdelest:backport/8.18/pr-131081
Jul 11, 2025
Merged

[8.18] Fix knn search error when dimensions are not set (#131081)#131122
carlosdelest merged 1 commit intoelastic:8.18from
carlosdelest:backport/8.18/pr-131081

Conversation

@carlosdelest
Copy link
Member

Backport

This will backport the following commits from main to 8.18:

Questions ?

Please refer to the Backport tool documentation

* Unmute tests muted in elastic#129550 as they were fixed in elastic#127322

* Return no match when no dimensions have been set

* Add tests

* Update docs/changelog/131081.yaml

(cherry picked from commit bbc4cef)

# Conflicts:
#	server/src/main/java/org/elasticsearch/index/mapper/vectors/DenseVectorFieldMapper.java
#	server/src/main/java/org/elasticsearch/search/SearchFeatures.java
#	x-pack/plugin/esql/qa/testFixtures/src/main/resources/knn-function.csv-spec
@carlosdelest carlosdelest merged commit c3b3793 into elastic:8.18 Jul 11, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants