Skip to content
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

Make use of constants and utility methods to build empty SearchHits instances #103983

Merged

Conversation

original-brownbear
Copy link
Member

This are to be made ref-counted shortly. There's no point in having any pooling/leak-tracking for empty instances though. To prepare for easily identifying most empty instances, adding some short-cuts for dealing with empty instances to make the overall change smaller and cleanup code already.

part of #102030

…nstances

This are to be made ref-counted shortly. There's no point in having any
pooling/leak-tracking for empty instances though. To prepare for that,
lets add some short-cuts for dealing with empty instances to make the
overall change smaller and cleanup code already.
@original-brownbear original-brownbear added >non-issue :Search/Search Search-related issues that do not fall into other categories labels Jan 5, 2024
@elasticsearchmachine elasticsearchmachine added Team:Search Meta label for search team v8.13.0 labels Jan 5, 2024
@elasticsearchmachine
Copy link
Collaborator

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

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.

LGTM 🚀

@original-brownbear
Copy link
Member Author

Thanks Carlos!

@original-brownbear original-brownbear merged commit 36f08ea into elastic:main Jan 5, 2024
15 checks passed
@original-brownbear original-brownbear deleted the use-constants-again branch January 5, 2024 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>non-issue :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team v8.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants