blob: 668a7702dda2a79602d24d0ab38c72dcb65d1969 [file] [log] [blame]
Volodymyr Stoikoca89a9f2017-06-06 15:04:44 +03001parameters:
2 _param:
3 pushkin_notifications_shards: 5
4 pushkin_notifications_replicas: 1
5 elasticsearch:
6 client:
7 index:
8 notifications:
9 enabled: true
Vnaumovf125e182017-12-20 15:29:56 +030010 force_operation: false
Volodymyr Stoikoca89a9f2017-06-06 15:04:44 +030011 definition:
12 template: notifications
13 settings:
14 number_of_shards: ${_param:pushkin_notifications_shards}
15 number_of_replicas: ${_param:pushkin_notifications_replicas}
16 mappings:
17 notification:
18 properties:
19 applicationId:
20 type: long
21 content:
22 type: text
23 fields:
24 keyword:
25 type: keyword
26 ignore_above: 256
27 level:
28 type: text
29 fields:
30 keyword:
31 type: keyword
32 ignore_above: 256
33 read:
34 type: boolean
35 timestamp:
36 type: date
37 title:
38 type: text
39 fields:
40 keyword:
41 type: keyword
Vnaumovf125e182017-12-20 15:29:56 +030042 ignore_above: 256