README.md in elasticsearch-transport-7.2.1 vs README.md in elasticsearch-transport-7.3.0

- old
+ new

@@ -104,10 +104,15 @@ Another way to configure the URL(s) is to export the `ELASTICSEARCH_URL` variable. The client will automatically round-robin across the hosts (unless you select or implement a different [connection selector](#connection-selector)). +### Default port + +The default port is `9200`. Please specify a port for your host(s) if they differ from this default. +Please see below for an exception to this when connecting using an Elastic Cloud ID. + ### Connect using an Elastic Cloud ID If you are using [Elastic Cloud](https://www.elastic.co/cloud), you can provide your cloud id to the client. You must supply your username and password separately, and optionally a port. If no port is supplied, port 9243 will be used. @@ -153,11 +158,11 @@ You can customize the default logger or tracer: client.transport.logger.formatter = proc { |s, d, p, m| "#{s}: #{m}\n" } client.transport.logger.level = Logger::INFO -Or, you can use a custom {::Logger} instance: +Or, you can use a custom `::Logger` instance: Elasticsearch::Client.new logger: Logger.new(STDERR) You can pass the client any conforming logger implementation: @@ -467,23 +472,6 @@ Unit tests have to use Ruby 1.8 compatible syntax, integration tests can use Ruby 2.x syntax and features. ## License -This software is licensed under the Apache 2 license, quoted below. - - Licensed to Elasticsearch B.V. under one or more contributor - license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright - ownership. Elasticsearch B.V. licenses this file to you under - the Apache License, Version 2.0 (the "License"); you may - not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. +This software is licensed under the [Apache 2 license](./LICENSE).