searchkick-hooopo 2.3.2 → 2.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/searchkick.rb +3 -1
- data/lib/searchkick/index_options.rb +1 -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: b3c84b55217833c53ab9e6251eb619b26759268d
|
4
|
+
data.tar.gz: 718ae414710c5fb1332e12b173824be81a5e7215
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5af2cb7f2798f4992a428577ed6f8e0e6780e8bf8a700992b5f125eb9ecadcf98220a9075a9b1a54c4ff73869e8220ee842ce3fa805b6334da80408206e13c81
|
7
|
+
data.tar.gz: be5e27625bc3363d3fc6e9765b6ffbbcb7843b38ad2413b3a5f4f626773c241a565b004f336ad062049ffccd14eb5594f5a276f4ca6e634f0f7d84207d794520
|
data/lib/searchkick.rb
CHANGED
@@ -36,7 +36,8 @@ module Searchkick
|
|
36
36
|
class ImportError < Error; end
|
37
37
|
|
38
38
|
class << self
|
39
|
-
attr_accessor :search_method_name, :wordnet_path, :timeout, :models, :client_options, :redis, :index_suffix, :queue_name,
|
39
|
+
attr_accessor :search_method_name, :wordnet_path, :timeout, :models, :client_options, :redis, :index_suffix, :queue_name,
|
40
|
+
:searchkick_search_analyzer, :searchkick_search2_analyzer, :default_analyzed_analyzer
|
40
41
|
attr_writer :client, :env, :search_timeout
|
41
42
|
attr_reader :aws_credentials
|
42
43
|
end
|
@@ -48,6 +49,7 @@ module Searchkick
|
|
48
49
|
self.queue_name = :searchkick
|
49
50
|
self.searchkick_search_analyzer = 'searchkick_search'
|
50
51
|
self.searchkick_search2_analyzer = 'searchkick_search2'
|
52
|
+
self.default_analyzed_analyzer = 'searchkick_search'
|
51
53
|
|
52
54
|
def self.client
|
53
55
|
@client ||= begin
|
@@ -229,7 +229,7 @@ module Searchkick
|
|
229
229
|
|
230
230
|
mapping_options[:searchable].delete("_all")
|
231
231
|
|
232
|
-
analyzed_field_options = {type: default_type, index: "analyzed", analyzer:
|
232
|
+
analyzed_field_options = {type: default_type, index: "analyzed", analyzer: Searchkick.default_analyzed_analyzer}
|
233
233
|
|
234
234
|
mapping_options.values.flatten.uniq.each do |field|
|
235
235
|
fields = {}
|
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.3
|
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-
|
11
|
+
date: 2017-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|