elasticsearch-query-builder 0.6.2 → 0.6.3
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a99e5d260b541ea1c22482af82d6a2e3c98fa01ba73341c5930b0447f48ef4dc
|
|
4
|
+
data.tar.gz: 35b9eed46e89cea7d5e5c057c8e33882ab317cbcfe84d69260d07c605e4f09e5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b6544758961aa372c8eef3626810d607c4a2a72f9a6e2966d742672effcbb6a202fc2f002c830a790b2a970033c76662c926a1d4a7a526b202ee3ad3cda19e61
|
|
7
|
+
data.tar.gz: 764387e49f24a68d27d635cbaaddc31ee20164ccd18385251109067addc21800f45af6cb2200019bb11ac06ff5690c0c6d3ef71b3552b5ff518934fafd01d7a8
|
|
@@ -33,11 +33,12 @@ module ElasticSearch
|
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
def initialize(opts: {}, mopts: [], client: nil, function_score: false)
|
|
36
|
+
def initialize(opts: {}, mopts: [], client: nil, function_score: false, options: {})
|
|
37
37
|
@opts = opts
|
|
38
38
|
@mopts = mopts
|
|
39
39
|
@function_score = function_score
|
|
40
40
|
@client = client
|
|
41
|
+
@options = options
|
|
41
42
|
end
|
|
42
43
|
|
|
43
44
|
def to_json(*_args)
|
|
@@ -47,7 +48,7 @@ module ElasticSearch
|
|
|
47
48
|
def results
|
|
48
49
|
raise 'client: should be set in order to fetch results' unless client
|
|
49
50
|
|
|
50
|
-
client&.search(opts)&.results
|
|
51
|
+
client&.search(opts, options: options)&.results
|
|
51
52
|
end
|
|
52
53
|
|
|
53
54
|
def multisearch_results
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: elasticsearch-query-builder
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kickser
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: exe
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2019-12-
|
|
14
|
+
date: 2019-12-06 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: bundler
|