Volodymyr Stoiko | ca89a9f | 2017-06-06 15:04:44 +0300 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
| 3 | pushkin_notifications_shards: 5 |
| 4 | pushkin_notifications_replicas: 1 |
| 5 | elasticsearch: |
| 6 | client: |
| 7 | index: |
| 8 | notifications: |
| 9 | enabled: true |
Vnaumov | f125e18 | 2017-12-20 15:29:56 +0300 | [diff] [blame] | 10 | force_operation: false |
Volodymyr Stoiko | ca89a9f | 2017-06-06 15:04:44 +0300 | [diff] [blame] | 11 | 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 |
Vnaumov | f125e18 | 2017-12-20 15:29:56 +0300 | [diff] [blame] | 42 | ignore_above: 256 |