Merge branch 'updated_for_138'
This commit is contained in:
@ -132,6 +132,9 @@ Default::: `10`
|
||||
Default::: `10`
|
||||
|
||||
|
||||
`suggestCompression`[[config-suggest-compression]]:: `Boolean` -- The client should inform Elasticsearch, on each request, that it can accept compressed responses. In order for the responses to actually be compressed, you must enable `http.compression` in Elasticsearch. See http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-http.html[these docs] for additional info.
|
||||
|
||||
Default::: `false`
|
||||
|
||||
|
||||
`connectionClass`[[config-connection-class]]:: `String, Constructor` -- Defines the class that will be used to create connections to store in the connection pool. If you are looking to implement additional protocols you should probably start by writing a Connection class that extends the ConnectionAbstract.
|
||||
|
||||
@ -200,7 +200,6 @@ describe('Transport Class', function () {
|
||||
expect(hosts).to.have.length(1);
|
||||
expect(hosts[0]).to.have.property('suggestCompression', true);
|
||||
|
||||
debugger;
|
||||
trans = new Transport({
|
||||
hosts: ['localhost:9200']
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user