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

Simplify FetchSearchPhase and its tests a little #108806

Merged

Conversation

original-brownbear
Copy link
Member

We can dry up the tests a little, remove a branch that is never taken (equality of response object and Integer is always false there) and remove redundant arguments in the production code to simplify this code a little.

We can dry up the tests a little, remove a branch that is never taken
(equality of response object and `Integer` is always false there)
and remove redundant arguments in the production code to simplify this
code a little.
@original-brownbear original-brownbear added >non-issue :Search/Search Search-related issues that do not fall into other categories labels May 18, 2024
@elasticsearchmachine elasticsearchmachine added v8.15.0 Team:Search Meta label for search team labels May 18, 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.

🧹

@original-brownbear
Copy link
Member Author

Thanks Carlos!

@original-brownbear original-brownbear merged commit bac3208 into elastic:main May 20, 2024
15 checks passed
@original-brownbear original-brownbear deleted the simplify-fetch-phase branch May 20, 2024 09:16
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.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants