README.md in elasticsearch-extensions-0.0.31 vs README.md in elasticsearch-extensions-0.0.32
- old
+ new
@@ -1,9 +1,8 @@
# Elasticsearch::Extensions
-This library provides a set of extensions to the
-[`elasticsearch`](https://github.com/elasticsearch/elasticsearch-ruby) Rubygem.
+This library provides a set of extensions to the [`elasticsearch`](https://github.com/elasticsearch/elasticsearch-ruby) Rubygem.
## Installation
Install the package from [Rubygems](https://rubygems.org):
@@ -48,11 +47,11 @@
Perform the backup with the Backup gem's command line utility:
$ backup perform -t elasticsearch_backup
-See more information in the [`Backup::Database::Elasticsearch`](lib/extensions/backup.rb)
+See more information in the [`Backup::Database::Elasticsearch`](lib/elasticsearch/extensions/backup.rb)
class documentation.
### Reindex
Copy documents from one index and cluster into another one, for example for purposes of changing
@@ -72,11 +71,11 @@
target_client = Elasticsearch::Client.new url: 'http://localhost:9250', log: true
client.index index: 'test', type: 'd', body: { title: 'foo' }
client.reindex source: { index: 'test' },
- target: { index: 'test', client: target_client },
+ dest: { index: 'test', client: target_client },
transform: lambda { |doc| doc['_source']['title'].upcase! },
refresh: true
# => { errors: 0 }
target_client.search index: 'test'
@@ -93,15 +92,15 @@
client = Elasticsearch::Client.new
reindex = Elasticsearch::Extensions::Reindex.new \
source: { index: 'test', client: client },
- target: { index: 'test-copy' }
+ dest: { index: 'test-copy' }
reindex.perform
-See more information in the [`Elasticsearch::Extensions::Reindex::Reindex`](lib/extensions/reindex.rb)
+See more information in the [`Elasticsearch::Extensions::Reindex::Reindex`](lib/elasticsearch/extensions/reindex.rb)
class documentation.
### ANSI
Colorize and format selected Elasticsearch response parts in terminal:
@@ -261,20 +260,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.
-
- Copyright (c) 2013 Elasticsearch <http://www.elasticsearch.org>
-
- Licensed 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).