-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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 has_child query #83870
Shrink slow log for has_child query #83870
Conversation
Pinging @elastic/es-search (Team:Search) |
This removes the defaults from the `toXContent` of the `has_child` query so slow logs that contain it are marginally easier to read. Relates to elastic#76515
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
checkGeneratedJson(query, queryBuilder); | ||
checkGeneratedJson( | ||
/* | ||
* Ignoring unampped is the default and we don't dump it and can't |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/unampped/unmapped/
} | ||
}""", parseQuery(query)); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️ text blocks
This removes the defaults from the
toXContent
of thehas_child
queryso slow logs that contain it are marginally easier to read.
Relates to #76515