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

Shrink slow log for inner_hits #84143

Merged
merged 1 commit into from
Feb 22, 2022
Merged

Conversation

nik9000
Copy link
Member

@nik9000 nik9000 commented Feb 17, 2022

This removes defaults from the xcontent representation of inner_hits
which will hopefully make the slow log a little easier to read.

Relates to #76515

@nik9000 nik9000 added >non-issue :Search/Search Search-related issues that do not fall into other categories v8.2.0 labels Feb 17, 2022
@nik9000 nik9000 requested a review from romseygeek February 17, 2022 17:48
@elasticmachine elasticmachine added the Team:Search Meta label for search team label Feb 17, 2022
@elasticmachine
Copy link
Collaborator

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

Copy link
Contributor

@romseygeek romseygeek left a comment

Choose a reason for hiding this comment

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

LGTM


private StoredFieldsContext storedFieldsContext;
private QueryBuilder query = DEFAULT_INNER_HIT_QUERY;
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this just unused?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, yes, sorry. I was going to leave a comment. Totally unused. At least in this branch

@nik9000 nik9000 merged commit f3d622d into elastic:master Feb 22, 2022
probakowski pushed a commit to probakowski/elasticsearch that referenced this pull request Feb 23, 2022
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.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants