elasticsearch/docs/reference/search
Nik Everett be7021fcdc
Remove aggregation's postCollect phase (backport of #64016) (#64317)
After #63811 it became clear to me that `postCollect` is kind of
dangerous and not all that useful. So this removes it.

The trouble with `postCollect` is that it all happened right after we
finished calling `collect` on the `LeafBucketCollectors` but before we
built the aggregation results. But in #63811 we found out that we can't
call `postCollect` on the children of `parent` or `child` aggregators
until we know which *which* aggregation results we're building.

So this removes `postCollect` and moves all of the things we did at
post-collect phase into `buildAggregations` or into hooks called in
those methods.
2020-10-29 09:48:01 -04:00
..
search-your-data Mark the search 'fields' option as beta. (#63699) 2020-10-18 13:41:49 -07:00
suggesters [DOCS] Fix typo in suggester docs (#61077) (#61202) 2020-08-17 09:09:34 -04:00
async-search.asciidoc [DOCS] Move search pagination content to one page (#60515) (#60525) 2020-07-31 12:40:40 -04:00
clear-scroll-api.asciidoc [DOCS] Replace twitter dataset in search/agg docs (#60667) (#60675) 2020-08-04 14:16:38 -04:00
count.asciidoc Deprecate REST access to System Indices (#63274) (Original #60945) 2020-10-06 13:41:40 -06:00
explain.asciidoc [DOCS] Replace twitter dataset in search/agg docs (#60667) (#60675) 2020-08-04 14:16:38 -04:00
field-caps.asciidoc [DOCS] Fix field caps API docs (#62110) (#62116) 2020-09-08 12:19:04 -04:00
multi-search.asciidoc Fix anchor doc for msearch cancellation paragraph 2020-08-24 15:14:17 -04:00
point-in-time-api.asciidoc [7.x] [DOCS] Add PIT to search after docs (#61593) (#62101) 2020-09-14 09:13:23 -04:00
point-in-time.asciidoc Introduce point in time APIs in x-pack basic (#61062) 2020-09-10 19:25:47 -04:00
profile.asciidoc Remove aggregation's postCollect phase (backport of #64016) (#64317) 2020-10-29 09:48:01 -04:00
rank-eval.asciidoc Deprecate REST access to System Indices (#63274) (Original #60945) 2020-10-06 13:41:40 -06:00
scroll-api.asciidoc [7.x] [DOCS] Add PIT to search after docs (#61593) (#62101) 2020-09-14 09:13:23 -04:00
search-shards.asciidoc Deprecate REST access to System Indices (#63274) (Original #60945) 2020-10-06 13:41:40 -06:00
search-template.asciidoc Deprecate REST access to System Indices (#63274) (Original #60945) 2020-10-06 13:41:40 -06:00
search.asciidoc [DOCS] Corrected track_total_hits def (#62830) (#63181) 2020-10-02 09:46:16 -04:00
suggesters.asciidoc [DOCS] Replace twitter dataset in search/agg docs (#60667) (#60675) 2020-08-04 14:16:38 -04:00
validate.asciidoc Deprecate REST access to System Indices (#63274) (Original #60945) 2020-10-06 13:41:40 -06:00