Skip to content

[feature request]high level search profile API #48696

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

Closed
riverbuilding opened this issue Oct 30, 2019 · 2 comments
Closed

[feature request]high level search profile API #48696

riverbuilding opened this issue Oct 30, 2019 · 2 comments
Labels
>enhancement :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team

Comments

@riverbuilding
Copy link
Contributor

like profile API declared:
Note that the Profile API, amongst other things, doesn’t measure network latency, time spent in the search fetch phase, time spent while the requests spends in queues or while merging shard responses on the coordinating node.

currently the search profile API is actually query profile API.
if there is a search profile API, which can provide below info:
query time per shard (maybe # of documents scanned, # of documents scored ),
fetch time per shard (maybe # of documents fetched),
merge time (maybe # of documents merged),
and total time (the time during a search in and out ES)

with above info, the overall situation can be summarized, which could help a lot when investigate search performance issues.

@jimczi jimczi added :Search/Search Search-related issues that do not fall into other categories >enhancement labels Oct 30, 2019
@elasticmachine
Copy link
Collaborator

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

@rjernst rjernst added the Team:Search Meta label for search team label May 4, 2020
@javanna
Copy link
Member

javanna commented Jun 16, 2022

I agree on the need for a high-level search profile API, this is something that we recently had some discussions about. There is another issue logged with a very similar if not the same ask, hence I will close this issue in favor of #21073.

@javanna javanna closed this as completed Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team
Projects
None yet
Development

No branches or pull requests

5 participants