co-elastic-query 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/co-elastic-query/version.rb +1 -1
- data/lib/co-elastic-query.rb +5 -1
- 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: e94c8425ecf401d73b82251269377bc1d2cb9cfe
|
4
|
+
data.tar.gz: 6bba205713da3df95335b1f614360e7e367fcba0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3090a78ef6542089a821e086fb37fa953372812f1105949dd824d39ca9efb964691bf4f6f997b2ebef09b7df5ad9723823ac4f875ebd92520d4b136d392b65bd
|
7
|
+
data.tar.gz: 3feead0db5492d9a37f35bb498a8bcc56099e888254a855a1d6e452e00a14d85be839e37445e74226b0713442512232efae5d995efef6f413f1b0e75bb257307
|
data/lib/co-elastic-query.rb
CHANGED
@@ -19,7 +19,7 @@ class Elastic
|
|
19
19
|
end
|
20
20
|
|
21
21
|
|
22
|
-
attr_accessor :offset, :limit, :sort, :fields
|
22
|
+
attr_accessor :offset, :limit, :sort, :fields, :query_settings
|
23
23
|
|
24
24
|
def raw_filter(filter)
|
25
25
|
@raw_filter ||= []
|
@@ -190,6 +190,10 @@ class Elastic
|
|
190
190
|
}
|
191
191
|
}]
|
192
192
|
|
193
|
+
if @query_settings
|
194
|
+
should[0][:simple_query_string].merge! @query_settings
|
195
|
+
end
|
196
|
+
|
193
197
|
if @hasChild
|
194
198
|
should << {
|
195
199
|
has_child: {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: co-elastic-query
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen von Takach
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-07-
|
12
|
+
date: 2016-07-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|