Skip to content

Conversation

@jimczi
Copy link
Contributor

@jimczi jimczi commented May 26, 2017

The took time computed for search requests does not take in account the expand search phase.
This change delays the computation to after the expand phase finishes.

Relates #24900

The took time computed for search requests does not take in account the expand search phase.
This change delays the computation to after the expand phase finishes.

Relates elastic#24900
@jimczi jimczi added :Search/Search Search-related issues that do not fall into other categories >bug v5.5.0 v6.0.0 labels May 26, 2017
@jimczi jimczi requested a review from s1monw May 26, 2017 14:10
Copy link
Member

@martijnvg martijnvg left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@s1monw s1monw left a comment

Choose a reason for hiding this comment

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

LGTM 2 but I wonder if we can test this somehow... not sure how... this one is tricky :)

@jimczi jimczi merged commit ec64c2c into elastic:master May 31, 2017
@jimczi jimczi deleted the expand_search_took_time branch May 31, 2017 10:42
jimczi added a commit that referenced this pull request May 31, 2017
The took time computed for search requests does not take in account the expand search phase.
This change delays the computation to after the expand phase finishes.

Relates #24900
@clintongormley clintongormley changed the title Compute the took time of the query after the expand phase Compute the took time of the query after the expand phase of field collapsing Jun 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Search/Search Search-related issues that do not fall into other categories v5.5.0 v6.0.0-alpha2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants