forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wire QueryPhaseCollectorManager into the query phase
We recently introduced a collector manager for QueryPhaseCollector. This commit wires it into the query phase, which requires also switching the query phase to using ProfileCollectorManager which supports concurrent profiling. For simplicity, the wrapping for the aggs collector manager when profiling is on is moved to the query phase, as it removed the need for casting when creating a ProfileCollectorManager with children. Note: there is no concurrency enabled with this as we don't yet set the executor to the IndexSearcher
- Loading branch information
Showing
3 changed files
with
32 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 0 additions & 26 deletions
26
...src/main/java/org/elasticsearch/search/profile/query/InternalProfileCollectorManager.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters