es-elasticity 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG +2 -0
- data/lib/elasticity/strategies/alias_index.rb +1 -1
- data/lib/elasticity/strategies/single_index.rb +1 -1
- data/lib/elasticity/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 04e7ce66153cf480adc1bf812e4008990cfbe42e
|
|
4
|
+
data.tar.gz: 2921aadea55a478b5828fe5c951e69f2d40f92da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 96f0fec58b65a740c6fcde60eeddbd304312bee52a37fdac467ce41f738226d0554d18ff11433b54ccaedd004626baaddd84fbbc69a8cfaa54b0b03fe7d79dca
|
|
7
|
+
data.tar.gz: d85e97773d2ebb371de50e484cbe7f13cde68da36e15e76ceceb89aa4c0dbfb33c6a576b9de161e792a20693e751a42ac8f58e5d1be1bc9b21b6cbdef471d1b7
|
data/CHANGELOG
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
v0.7.1
|
|
2
|
+
- add more response info to raised exceptions from reindexing
|
|
1
3
|
v0.6.5
|
|
2
4
|
- update search and multi search interfaces to allow passing of general
|
|
3
5
|
search definition arguments found in https://github.com/elastic/elasticsearch-ruby/blob/bdf5e145e5acc21726dddcd34492debbbddde568/elasticsearch-api/lib/elasticsearch/api/actions/search.rb#L125-L162
|
|
@@ -197,7 +197,7 @@ module Elasticity
|
|
|
197
197
|
if id = res["_id"]
|
|
198
198
|
[id, res["created"]]
|
|
199
199
|
else
|
|
200
|
-
raise IndexError.new(@update_alias, "failed to index document")
|
|
200
|
+
raise IndexError.new(@update_alias, "failed to index document. Response: #{res.inspect}")
|
|
201
201
|
end
|
|
202
202
|
end
|
|
203
203
|
|
data/lib/elasticity/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: es-elasticity
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rodrigo Kochenburger
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-02-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -242,7 +242,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
242
242
|
version: '0'
|
|
243
243
|
requirements: []
|
|
244
244
|
rubyforge_project:
|
|
245
|
-
rubygems_version: 2.4.5
|
|
245
|
+
rubygems_version: 2.4.5
|
|
246
246
|
signing_key:
|
|
247
247
|
specification_version: 4
|
|
248
248
|
summary: ActiveModel-based library for working with Elasticsearch
|
|
@@ -255,4 +255,3 @@ test_files:
|
|
|
255
255
|
- spec/units/multi_search_spec.rb
|
|
256
256
|
- spec/units/search_spec.rb
|
|
257
257
|
- spec/units/strategies/single_index_spec.rb
|
|
258
|
-
has_rdoc:
|