OpenSearch/docs/java-rest
Nik Everett 2087234d74 Timeout improvements for rest client and reindex (#21741)
Changes the default socket and connection timeouts for the rest
client from 10 seconds to the more generous 30 seconds.

Defaults reindex-from-remote to those timeouts and make the
timeouts configurable like so:
```
POST _reindex
{
  "source": {
    "remote": {
      "host": "http://otherhost:9200",
      "socket_timeout": "1m",
      "connect_timeout": "10s"
    },
    "index": "source",
    "query": {
      "match": {
        "test": "data"
      }
    }
  },
  "dest": {
    "index": "dest"
  }
}
```

Closes #21707
2016-12-05 10:54:51 -05:00
..
configuration.asciidoc Timeout improvements for rest client and reindex (#21741) 2016-12-05 10:54:51 -05:00
index.asciidoc
overview.asciidoc
sniffer.asciidoc Add missing change for sniffer page 2016-11-23 17:13:01 +01:00
usage.asciidoc Update usage.asciidoc 2016-11-23 17:34:45 +01:00