forklift_etl 1.1.6 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Gemfile.lock +1 -1
- data/lib/forklift/transports/elasticsearch.rb +2 -2
- data/lib/forklift/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZjM4NGIzZDIwMjQzNjg2MTI1ODU4NmUzZmIyZmI5YzVjODZkZjMwZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YjU0MGQyNmU3ZGM3MzI4MjJkYzg4NDU4NGJiMjNiMWU0ZDU5NzVhYQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZWU3MWM1OWM1MjAyMmVmNzRlYmVhZGJhMGY5N2Y3NTY5MTVlYzNlN2RhNzEy
|
10
|
+
NGIxMmEyYjRjNGM1NjcxYmVjZjIyM2FkM2FhY2ZjZjc1YmNmMDYzNDQ4MmEy
|
11
|
+
NDBiYTlmZWZiNDVlNjFjY2Y4OTMwYzRhMmFmZDgwOTlhOTUyMjM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OGQ0ZjZiODA3OGMzZGMxMmY2ZDA5ZTQyZDNmYTQwMTQ2MWM4ODc3NGU4YjY1
|
14
|
+
MjYxMzQxOWQ0OWY0NjUzMzRkNTFmNjdiNDliNjVhMzI3ZDQ2YTg2YzVlOWQw
|
15
|
+
NGJmYzI1ZTE3Y2FlNzhiZGQ2YTA5MjQ2NWM1MjIwNzIyNGM1NjE=
|
data/Gemfile.lock
CHANGED
@@ -28,7 +28,7 @@ module Forklift
|
|
28
28
|
prepared_query[:from] = from + offset
|
29
29
|
prepared_query[:size] = size
|
30
30
|
|
31
|
-
forklift.logger.debug " ELASTICSEARCH: #{query}"
|
31
|
+
forklift.logger.debug " ELASTICSEARCH: #{query.to_json}"
|
32
32
|
results = client.search( { index: index, body: prepared_query } )
|
33
33
|
results["hits"]["hits"].each do |hit|
|
34
34
|
data << hit["_source"]
|
@@ -59,7 +59,7 @@ module Forklift
|
|
59
59
|
}
|
60
60
|
object[:id] = d[primary_key] if ( !d[primary_key].nil? && update == true )
|
61
61
|
|
62
|
-
forklift.logger.debug " ELASTICSEARCH (store): #{object}"
|
62
|
+
forklift.logger.debug " ELASTICSEARCH (store): #{object.to_json}"
|
63
63
|
client.index object
|
64
64
|
end
|
65
65
|
client.indices.refresh({ index: index })
|
data/lib/forklift/version.rb
CHANGED