elastic_record 4.1.5 → 4.1.6
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/relation.rb +2 -5
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 280d853bc9f78ccd8acaef97387dd0d473a26dd7
|
4
|
+
data.tar.gz: adf8431d5e367c6fa801fa93e76e25ec2f60a1b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2db626ce581a9ec1c8299ac2544b2b6f4b16bdd3548b4fd768355d66b39cac67d3f506297246110b328734424d4d4fcdc5249bb21a7db88b1c2c023b4cb31448
|
7
|
+
data.tar.gz: a4e6e27002915053b6d4220a45e2e33845b97b442726f364bcb70860d1a38c61bbf03b6f8bfb5cbba6af8ef44428d9ad77fae4e68face1e27936610b70869fcb
|
data/elastic_record.gemspec
CHANGED
@@ -75,12 +75,9 @@ module ElasticRecord
|
|
75
75
|
def search_results
|
76
76
|
@search_results ||= begin
|
77
77
|
options = search_type_value ? {search_type: search_type_value} : {}
|
78
|
+
search = as_elastic.update('_source' => klass.elastic_index.load_from_source)
|
78
79
|
|
79
|
-
|
80
|
-
as_elastic.update('_source' => false)
|
81
|
-
end
|
82
|
-
|
83
|
-
klass.elastic_index.search(as_elastic, options)
|
80
|
+
klass.elastic_index.search(search, options)
|
84
81
|
end
|
85
82
|
end
|
86
83
|
|
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: 4.1.
|
4
|
+
version: 4.1.6
|
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: 2017-09-
|
12
|
+
date: 2017-09-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: arelastic
|
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
185
|
version: 1.8.11
|
186
186
|
requirements: []
|
187
187
|
rubyforge_project:
|
188
|
-
rubygems_version: 2.6.
|
188
|
+
rubygems_version: 2.6.11
|
189
189
|
signing_key:
|
190
190
|
specification_version: 4
|
191
191
|
summary: An Elasticsearch querying ORM
|