Tests: add logging to LocalGatewayIndexStateTests
Store: improved trace logging for shard active requests
Tests: log when an ensure green/yellow comes back

Also added some trace logging to SimpleRecoveryLocalGatewayTests
Test: Added more assertions
[Rest] reroute API response didn't filter metadata

By default the reroute API should return the new cluster state, excluding the metadata. It was however it was wrongly using an old parameter (filter_metadata) and thus failed to do so. This commits restores but wiring it to the correct `metric` parameter. We also add an enum representing the possible metrics, to avoid similar future mistakes.

Closes #7520
Closes #7523
[docs] Fix typo: resonable - reasonable
Gateway: added trace logging to translog recovery logic

Enabled it in SimpleRecoveryLocalGatewayTests
Fixing some grammar
The description was incorrect

Looked like a copy and paste from another aggregation
missing logging brackets
Aggregation top_hits: Move sort resolution to the reduce method, so it is always guaranteed to be invoked.
[TEST] added more information to fail message for a test to debug test failure
[TEST] Added logging of response to aid debugging
Test: Fields in percolator query must exist before percolating
Core: Use FixedBitSetFilterCache for delete-by-query.

Leftover from #7037.
Close #7581
Bulk UDP: Removal.

This feature is rarely used. Removing it will help reduce the moving parts
of Elasticsearch and focus on the core.

Close #7595
Translog: remove unused stream

Closes #7683
Docs: Fix misnamed setting

The settings is `index.merge.policy.reclaim_deletes_weight` not
`index.reclaim_deletes_weight`.

Closes #7676
Add inline comment to prevent confusion
Docs: Added recommended Java versions to the docs