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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fbd878fffec743015745b05e721873cdf845def1
4
- data.tar.gz: 8c3650214768a063c743cbe06b89a36aeb045070
3
+ metadata.gz: b3c84b55217833c53ab9e6251eb619b26759268d
4
+ data.tar.gz: 718ae414710c5fb1332e12b173824be81a5e7215
5
5
  SHA512:
6
- metadata.gz: e188ae0743ef683bb151c8a19d13e3e4328ae28b91328d3a2b3c3d2f3a4ffc632dd7a90dae579f17620f4f227b67c943094f7a25788ebd8abc3881bd0357a0a6
7
- data.tar.gz: 9784fdc900f4100e5c99f84aa407fac72a067acdc79ba12f2907452c13230a7cc83b8d402c28db2b497d0baf6d0542eb81c21ca3d0fbc04211943e00f615ad61
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, :searchkick_search_analyzer, :searchkick_search2_analyzer
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: default_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 = {}
@@ -1,3 +1,3 @@
1
1
  module Searchkick
2
- VERSION = "2.3.2"
2
+ VERSION = "2.3.3"
3
3
  end
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.2
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-05-31 00:00:00.000000000 Z
11
+ date: 2017-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel