Skip to content

Conversation

@benwtrent
Copy link
Member

some refactoring I noticed recently that we can do. Now k is always provided we can remove boxing and this simplifies some logic.

Additionally, modernizes and simplifies some tests. No behavior change in this PR.

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search-relevance (Team:Search Relevance)

@elasticsearchmachine elasticsearchmachine added the Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch label May 30, 2025
Copy link
Member

@carlosdelest carlosdelest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 👍

@benwtrent benwtrent added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Jun 2, 2025
@elasticsearchmachine elasticsearchmachine merged commit d75daa7 into elastic:main Jun 2, 2025
18 checks passed
@benwtrent benwtrent deleted the refactor/refactor-simplify-knn-queries branch June 2, 2025 21:46
mridula-s109 pushed a commit to mridula-s109/elasticsearch that referenced this pull request Jun 3, 2025
…c#128693)

some refactoring I noticed recently that we can do. Now k is always
provided we can remove boxing and this simplifies some logic. 

Additionally, modernizes and simplifies some tests. No behavior change
in this PR.
joshua-adams-1 pushed a commit to joshua-adams-1/elasticsearch that referenced this pull request Jun 3, 2025
…c#128693)

some refactoring I noticed recently that we can do. Now k is always
provided we can remove boxing and this simplifies some logic. 

Additionally, modernizes and simplifies some tests. No behavior change
in this PR.
Samiul-TheSoccerFan pushed a commit to Samiul-TheSoccerFan/elasticsearch that referenced this pull request Jun 5, 2025
…c#128693)

some refactoring I noticed recently that we can do. Now k is always
provided we can remove boxing and this simplifies some logic. 

Additionally, modernizes and simplifies some tests. No behavior change
in this PR.
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!) >refactoring :Search Relevance/Vectors Vector search Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants