Skip to content

[9.0] Fix knn search error when dimensions are not set (#131081) #131119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 11, 2025

Conversation

carlosdelest
Copy link
Member

Backport

This will backport the following commits from main to 9.0:

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 added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) and removed v9.0.5 labels Jul 11, 2025
@carlosdelest carlosdelest merged commit b5b77da into elastic:9.0 Jul 11, 2025
17 checks passed
@carlosdelest carlosdelest deleted the backport/9.0/pr-131081 branch July 11, 2025 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants