elasticsearch-client 0.0.5 → 0.0.6

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.
@@ -163,7 +163,7 @@ module ElasticSearch
163
163
  # Returns a hash, the parsed response body from elasticsearch
164
164
  def remove_all(type)
165
165
  delete do |req|
166
- req.url "#{@name}/#{type}"
166
+ req.url "#{@name}/#{type}/_query", :q => '*'
167
167
  end
168
168
  end
169
169
 
@@ -1,3 +1,3 @@
1
1
  module ElasticSearch
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch-client
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jonathan Hoyt