elasticsearch-utils 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 10216ce0da878da2324802434785d0c85a38574e
4
- data.tar.gz: bb623a5c05cf2c77d760ef63e0ea6c5fa63980b4
3
+ metadata.gz: 5c30a6fdd193812730e128bd49baa1af8e5c2656
4
+ data.tar.gz: 90039aa842757fc11070e2a8c422a5ed38a7a67a
5
5
  SHA512:
6
- metadata.gz: bac93d302849099b9f62d4f5287c87299f09e36efa4269385ad8f0e13afdc6140ebd522539d77d43aa9b888d9db1d1789128b85a695d11ccf6594286e82848da
7
- data.tar.gz: b165e2e5ed7868e418684e9cfa47e154234748b75bc980612acdb695a455c491f79aaaf9911ada175e15e4184d57f7a827f824b5c9e584c9327cef499c7f60d6
6
+ metadata.gz: 16a28628ac345a33f208e972fd23a0c5296ebf893fad494057d4d089be923cb9469f81f6941500755c34c20c953b9d738e7ffcfd74f259181f171158c5c3dd11
7
+ data.tar.gz: f034b7db2a3a12a90778a43a26cdbe768f298bb647ac62e8e1ebe24345d9db23f58fb964a72d0d21fbbb8a28353cf06e60ad7aa47de980018da2d68a81aeb9e6
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Elasticsearch::Utils
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/elasticsearch-utils.svg)](http://badge.fury.io/rb/elasticsearch-utils)
4
+
3
5
  Adds more cool methods to [`Elasticsearch::Client`](https://github.com/elasticsearch/elasticsearch-ruby) clients.
4
6
 
5
7
  ## Installation
@@ -22,7 +24,7 @@ Or install it yourself as:
22
24
 
23
25
  ### Streaming
24
26
 
25
- For those times when you want to map over all results of a search, perhaps in a background job, that may be very large and not worry about paging. This method leverages the [`scroll`](http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/scan-scroll.html) feature of ElasticSearch to maximize server-side efficiency.
27
+ For those times when you want to map over all results of a search (which may be very large, perhaps in a background job) and not worry about paging. This method leverages the [`scroll`](http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/scan-scroll.html) feature of ElasticSearch to maximize server-side efficiency.
26
28
 
27
29
  In this example, we run a search for all Bobs in the index and output their last name. There are a ton of bobs in Bobland so the deep paging would normally tax the server, so we opt to stream.
28
30
 
@@ -18,6 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ['lib']
20
20
 
21
+ spec.add_dependency 'elasticsearch', '~> 1.0.4'
22
+
21
23
  spec.add_development_dependency 'bundler', '~> 1.6'
22
24
  spec.add_development_dependency 'rake', '~> 10.0'
23
25
  end
@@ -1,5 +1,5 @@
1
1
  module Elasticsearch
2
2
  module Utils
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Hammond
@@ -11,6 +11,20 @@ bindir: bin
11
11
  cert_chain: []
12
12
  date: 2014-08-20 00:00:00.000000000 Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: elasticsearch
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: 1.0.4
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: 1.0.4
14
28
  - !ruby/object:Gem::Dependency
15
29
  name: bundler
16
30
  requirement: !ruby/object:Gem::Requirement