Skip to content

Return float[] instead of List<Double> in valueFetcher for rank_vectors #126702

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 15 commits into from
Apr 15, 2025

Conversation

iverase
Copy link
Contributor

@iverase iverase commented Apr 11, 2025

We are currently having to hold in heap big list of Double objects which can take big amounts of heeap. With this change we can reduce the heap usage by 7x.

@iverase iverase requested a review from benwtrent April 11, 2025 15:18
@elasticsearchmachine elasticsearchmachine added the Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch label Apr 11, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine
Copy link
Collaborator

Hi @iverase, I've created a changelog YAML for you.

@iverase iverase added the auto-backport Automatically create backport pull requests when merged label Apr 15, 2025
@iverase iverase merged commit bcee0af into elastic:main Apr 15, 2025
17 checks passed
@iverase iverase deleted the rank_vectors-fetch branch April 15, 2025 05:03
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.x

iverase added a commit to iverase/elasticsearch that referenced this pull request Apr 15, 2025
We are currently having to hold in heap big list of Double objects which can take big amounts of heap. With this change 
we can reduce the heap usage by 7x.
elasticsearchmachine pushed a commit that referenced this pull request Apr 15, 2025
…6811)

We are currently having to hold in heap big list of Double objects which can take big amounts of heap. With this change 
we can reduce the heap usage by 7x.
@iverase iverase changed the title Return float[] instead of List<Double> in valueFetcher Return float[] instead of List<Double> in valueFetcher for rank_vectors Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged >enhancement :Search Relevance/Search Catch all for Search Relevance Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch v8.19.0 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants