searchkick-hooopo 2.3.4 → 2.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/searchkick/query.rb +4 -1
- data/lib/searchkick/version.rb +1 -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: da228a9ec2e9aad9e7fccbaaa341d69b936208a0
|
4
|
+
data.tar.gz: 7d4c3c532146b255873d686cb4ad424fbbc6d6cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b2db1fa5e15ef170e5264ec183ee44e03e810de2952e22139401ee5422832dd31cc4c94ed8a085dda95991e5b40eb213c6c8d4e73cfe87840edaa52f831bc93
|
7
|
+
data.tar.gz: e74f8f9cc222dd18ff60e0223c150b24689208cd39c21066f98dd689526c47907317a72ead2e2e27d7b71fd73dca6e5e8c2fc211549284e47d385649a6a9339b
|
data/lib/searchkick/query.rb
CHANGED
@@ -19,7 +19,7 @@ module Searchkick
|
|
19
19
|
:boost_by, :boost_by_distance, :boost_where, :conversions, :conversions_term, :debug, :emoji, :exclude, :execute, :explain,
|
20
20
|
:fields, :highlight, :includes, :index_name, :indices_boost, :limit, :load,
|
21
21
|
:match, :misspellings, :offset, :operator, :order, :padding, :page, :per_page, :profile,
|
22
|
-
:request_params, :routing, :select, :similar, :smart_aggs, :suggest, :track, :type, :where]
|
22
|
+
:request_params, :routing, :select, :similar, :smart_aggs, :suggest, :track, :type, :where, :analyzers]
|
23
23
|
raise ArgumentError, "unknown keywords: #{unknown_keywords.join(", ")}" if unknown_keywords.any?
|
24
24
|
|
25
25
|
term = term.to_s
|
@@ -306,6 +306,9 @@ module Searchkick
|
|
306
306
|
shared_options.merge(analyzer: Searchkick.searchkick_search_analyzer),
|
307
307
|
shared_options.merge(analyzer: Searchkick.searchkick_search2_analyzer)
|
308
308
|
]
|
309
|
+
qs.concat options.fetch(:analyzers, []).map { |analyzer|
|
310
|
+
shared_options.merge(analyzer: analyzer)
|
311
|
+
}
|
309
312
|
exclude_analyzer = Searchkick.searchkick_search2_analyzer
|
310
313
|
elsif field.end_with?(".exact")
|
311
314
|
f = field.split(".")[0..-2].join(".")
|
data/lib/searchkick/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: searchkick-hooopo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|