Skip to content

Conversation

@original-brownbear
Copy link
Contributor

This logic will need a bit of adjustment for bulk query execution. Lets dry it up and expose a minimal surface before that, so we don't have to copy and paste the fix which will be a couple lines.

This logic will need a bit of adjustment for bulk query execution.
Lets dry it up before so we don't have to copy and paste the fix which
will be a couple lines.
@elasticsearchmachine elasticsearchmachine added the Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch label Feb 9, 2025
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Member

@piergm piergm left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

* Utilities around testing the `error_trace` message header in search.
*/
public enum ErrorTraceHelper {
;
Copy link
Member

Choose a reason for hiding this comment

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

nit, remove ;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can't do that :) it's the empty enum as a utility class here :D still need to delineate the absence of values.

@original-brownbear
Copy link
Contributor Author

Thanks Matteo!

@original-brownbear original-brownbear merged commit d3abf9d into elastic:main Feb 10, 2025
17 checks passed
@original-brownbear original-brownbear deleted the dry-error-trace-its branch February 10, 2025 07:48
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Apr 9, 2025
This logic will need a bit of adjustment for bulk query execution.
Lets dry it up before so we don't have to copy and paste the fix which
will be a couple lines.
elasticsearchmachine pushed a commit that referenced this pull request Apr 9, 2025
This logic will need a bit of adjustment for bulk query execution.
Lets dry it up before so we don't have to copy and paste the fix which
will be a couple lines.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>non-issue :Search Foundations/Search Catch all for Search Foundations Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch v8.18.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants