elasticsearch/elasticsearch — pull request #8161 by brwe (2014-10-20 10:27:28+00:00)
Title: Transport/ Java API: Fix result transport and add api methods

Also this commit changes request structure. "reducers" shoudl be given as object
and not as array to be consistent with aggregations.

```
"reducers": [
"reducer1": {...
...
]
```

becomes

```
"reducers": {
"reducer1": {...
...
}
```