[TEST] Remove TransportUpdateActionTest

This test has been made obselete by the UpdateTests.
Docs: Typo
typo

causes the example to fail in bash
[TEST] Stress Update/Delete

Create the test index with merging disabled so deletes don't get merged away
this was breaking the version calculation.
More lenient type parsing in histo/cardinality aggs
closes #6948
closes #6893
[TEST] Stress update/delete

Reduce top end of scaling parameters to avoid OOMs on nightly runs.
[Discovery] remove unneeded cluster state serialization during cluster join process

At the moment we serialize the cluster state in JoinResponse and ValidateJoinRequest. However this state is not used anywhere and can be removed to save on network overhead

Closes #6949
Test: Set number_of_replicas to zero so that wait_for_green succeeds in search.aggregations
[Discovery] fix MembershipAction.sendJoinRequestBlocking should now expect an empty response

The change introduced in #6949 (do not serialize the cluster state) also means master now responds with an empty response rather then a JoinResponse. However, sendJoinRequestBlocking still expected a JoinRequest.
IndicesStore fix logging format
[BUILD] Add BWC tests to release script

This commit adds the ability to run bwc tests during the release
process to ensure the current release is backwards compatible with
the latest installed previous version. Installed means available
in the configured bwc test path.

Closes #6953
Update scripting.asciidoc

Added an ID for native java scripts
[TEST] Reduce the number of threads in StressUpdateDelete test.
Fix InternalSearchHits serialization to be deterministic

The assertion on binary equality for streamable serialization
sometimes fails due to the usage of identify hashmaps inside
the InternalSearchHits serialization. This only happens if
the number of shards the result set is composed of is very high.
This commit makes the serialziation deterministic and removes
the need to serialize the ordinal due to in-order serialization.
Revert "Fix InternalSearchHits serialization to be deterministic"

This reverts commit 8db7b2b20ba332c3b69fb7b686ab6273c5abece0.
[FIX] Indexed scripts should always use script_id.
Update: Detect noop updates sent with doc_as_upsert

This should help prevent spurious updates that just cause extra writing
and cache invalidation for no real reason.

Close #6822
[TEST] Fix indexed script test.
Fielddata: Switch to Lucene DV APIs.

This commits removes BytesValues/LongValues/DoubleValues/... and tries to use
Lucene's APIs such as NumericDocValues or RandomAccessOrds instead whenever
possible.

The next step would be to take advantage of the fact that APIs are the same in
Lucene and Elasticsearch in order to remove our custom comparators and use
Lucene's.

There are a few side-effects to this change:
 - GeoDistanceComparator has been removed, DoubleValuesComparator is used instead
   on top of dynamically computed values (was easier than migrating
   GeoDistanceComparator).
 - SortedNumericDocValues doesn't guarantee uniqueness so long/double terms
   aggregators have been updated to make sure a document cannot fall twice in
   the same bucket.
 - Sorting by maximum value of a field or running a `max` aggregation is
   potentially significantly faster thanks to the random-access API.

Our aggs and p/c aggregations benchmarks don't report differences with this
change on uninverted field data. However the fact that doc values don't need
to be wrapped anymore seems to help a lot. For example
TermsAggregationSearchBenchmark reports ~30% faster terms aggregations on doc
values on string fields with this change, which are now only ~18% slower than
uninverted field data although stored on disk.

Close #6908
[FIX] Fix update parser to accept script_id