Enable Trace Logging for SearchWhileRelocatingTests
Support 'yaml' as a format for the Analyze API

Fixes #4311
Use random number of iteration for tests
Thanks @simonw for the review.
Related to #4361 and #4371.
Use random number of iteration for tests
Thanks @simonw for the review.
Related to #4361 and #4371.
Add Class and Package Level support for TestLogging
Enable Trace Logging for org.elasticsearch.action.search.type on aggregations
remove ensureGreen for debugging
Trace log all shard failures if an exception is attached.
Allow to get a specific transport client inside of tests

Adding functionality to call cluster().transportClient() in tests in order
to get an arbitrary TransportClient object back, independently if the
transport client ratio in returning the normal clients is configured.

Also made sure, that if the normal client is already a transport client
(or a node client) we do not generate another one.
Support postings highlighter in percolate api.

The postings hl now uses a searcher that only encapsulate the view of segment the document being highlighted is in,
this should be better than using the top level engine searcher.

Closes #4385
Fix test failure.
Added ElasticsearchIntegrationTest#ensureSearchable() to prepare indices to be searchable

Currently we sometimes see test failures that fail because not all replicase are
`searchable` which means they are not started yet or still recovering. Yet, the usual
situation is where two nodes have the same clusterstate but the one that acts as
the search target has not yet processed that clusterstate. The requester sees the
shard as started but it's not mark as such on the target node. For now the #ensureSearchable()
just delegates to #ensureYellow() to make sure the cluster is not red. In the future if we have
the possibilty to recover from situations like this in the search logic we can easily test
this by making the impl a no-op. Note: this problem only occurs if you have low number of docs
and the indexing is really quick such that first request are exectued but shards are not
fully `started`
move to ensureGreen in aggs tests to stabelize tests
Do not override thetas if sum is less or equals to `0`

Closes #4390
Made sure the new cluster state is not held by AckCountDownListener

(also made AckCountDownListener class static)
Added aggs option to percolate api documentation.
Use a dedicated cluster name for GeoDistanceSearchBenchmark (like we do for other benchmarks).
Remove 'term_index_interval' and 'term_index_divisor'

These settings are no longer relevant since they are codec /
postingsformat level settings since Lucene 4.0

Closes #3912