elastic_record 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/elastic_record.gemspec +1 -1
- data/lib/elastic_record/index/documents.rb +9 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3554208d8b85cd26b25c1a8dcc0583b4d2162383
|
4
|
+
data.tar.gz: 5f6b101f847df19e1f5a5c2e5606477b383b35b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e281730247003f42fb3788cba4766807a4facafab2ac3def9baa62b4c753962a4343ffd854abbdf03603251170c521b9d1b3ff34978128ce4ffc9988ab64767
|
7
|
+
data.tar.gz: 36571be68a155eca663f0cc4eef6a28f1407ac88654fac10dcf218e6e779973cc640f6afed53be034243c6cb2493a8a9c6f387c677cbb70b7314c3c17a17569f
|
data/elastic_record.gemspec
CHANGED
@@ -18,9 +18,16 @@ module ElasticRecord
|
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
21
|
+
def request_more_hits
|
22
|
+
request_next_scroll['hits']['hits']
|
23
|
+
end
|
24
|
+
|
21
25
|
def request_more_ids
|
22
|
-
|
23
|
-
|
26
|
+
request_more_hits.map { |hit| hit['_id'] }
|
27
|
+
end
|
28
|
+
|
29
|
+
def request_next_scroll
|
30
|
+
@elastic_index.scroll(@scroll_id, keep_alive)
|
24
31
|
end
|
25
32
|
|
26
33
|
def keep_alive
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elastic_record
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Infogroup
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-06-
|
12
|
+
date: 2016-06-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: arelastic
|