searchkick-hooopo 2.4.0 → 2.4.1

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: 9e87d76ec941de4e486e2ca906848bb3ec9d1edb
4
- data.tar.gz: 7fb3b43e89b0785ce5300b433ff273ae77718803
3
+ metadata.gz: 672cb5b1da4f2c267c7678724700a15dbfd21f80
4
+ data.tar.gz: 06bbac45b442e3ecd829124d588731b10a30db1a
5
5
  SHA512:
6
- metadata.gz: 4bf84fd22f81fcf1e9e85330ad032dad530acd7d0c79b933e50cd7550985ed0a63916197c91edf6f1f6cb3df7d014da26d01dc933c609f760581760dfe33ab25
7
- data.tar.gz: 623d94356e4468c1c8adef50917cfdb392f892760241bcde7a69f62b3b89c740e89db717b6b47577bda63ac5f59fbaabd16dc5ae0519ec72e28ebb545bf69199
6
+ metadata.gz: 6fd87533987286af97d51f1ccb6d0cd86020ed30b3e32ac46f58e5add088290e19caf1616e7f0e93d19e41137e23301278e1aea4abbcff84894e7c72a26904eb
7
+ data.tar.gz: 4052bf26f51b8eb0acc4ae4192790c9bc7097c48ee219cae775aadca75f931c07d13276003a40559ae11226d00de7a5bf540fe8a4db1c8d67afde74f71cf14d3
@@ -315,7 +315,17 @@ module Searchkick
315
315
  mappings = {
316
316
  _default_: {
317
317
  properties: mapping,
318
- _routing: routing
318
+ _routing: routing,
319
+ # https://gist.github.com/kimchy/2898285
320
+ dynamic_templates: [
321
+ {
322
+ string_template: {
323
+ match: "*",
324
+ match_mapping_type: "string",
325
+ mapping: multi_field
326
+ }
327
+ }
328
+ ]
319
329
  }
320
330
  }
321
331
 
@@ -1,3 +1,3 @@
1
1
  module Searchkick
2
- VERSION = "2.4.0"
2
+ VERSION = "2.4.1"
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.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-25 00:00:00.000000000 Z
11
+ date: 2018-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel