Advertisement
dshablov

mapping

Apr 11th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.62 KB | None | 0 0
  1. "test1": {
  2.         "mappings": {
  3.             "group": {
  4.                 "properties": {
  5.                     "author": {
  6.                         "type": "text",
  7.                         "fields": {
  8.                             "keyword": {
  9.                                 "type": "keyword",
  10.                                 "ignore_above": 256
  11.                             }
  12.                         }
  13.                     },
  14.                     "data": {
  15.                         "type": "text",
  16.                         "fields": {
  17.                             "keyword": {
  18.                                 "type": "keyword",
  19.                                 "ignore_above": 256
  20.                             }
  21.                         }
  22.                     },
  23.                     "group": {
  24.                         "type": "text",
  25.                         "fields": {
  26.                             "keyword": {
  27.                                 "type": "keyword",
  28.                                 "ignore_above": 256
  29.                             },
  30.                             "raw": {
  31.                                 "type": "keyword"
  32.                             }
  33.                         },
  34.                         "fielddata": true
  35.                     },
  36.                     "type": {
  37.                         "type": "text",
  38.                         "fields": {
  39.                             "keyword": {
  40.                                 "type": "keyword",
  41.                                 "ignore_above": 256
  42.                             }
  43.                         }
  44.                     }
  45.                 }
  46.             }
  47.         }
  48.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement