Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.74 KB | None | 0 0
  1. {
  2.   "mappings": {
  3.     "goods": {
  4.       "properties": {
  5.         "CPRC": {
  6.           "type": "text",
  7.           "fields": {
  8.             "keyword": {
  9.               "type": "keyword",
  10.               "ignore_above": 256
  11.             }
  12.           }
  13.         },
  14.         "EPRC": {
  15.           "type": "text",
  16.           "fields": {
  17.             "keyword": {
  18.               "type": "keyword",
  19.               "ignore_above": 256
  20.             }
  21.           }
  22.         },
  23.         "GOOD_ID": {
  24.           "type": "text",
  25.           "fields": {
  26.             "keyword": {
  27.               "type": "keyword",
  28.               "ignore_above": 256
  29.             }
  30.           }
  31.         },
  32.         "GOOD_NM": {
  33.           "type": "text",
  34.           "analyzer": "ik_max_word",
  35.           "search_analyzer": "ik_max_word",
  36.           "boost": 8,
  37.           "fields": {
  38.             "keyword": {
  39.               "type": "keyword",
  40.               "ignore_above": 256
  41.             }
  42.           }
  43.         },
  44.         "ONLINE": {
  45.           "type": "text",
  46.           "fields": {
  47.             "keyword": {
  48.               "type": "keyword",
  49.               "ignore_above": 256
  50.             }
  51.           }
  52.         },
  53.         "PRC": {
  54.           "type": "text",
  55.           "fields": {
  56.             "keyword": {
  57.               "type": "keyword",
  58.               "ignore_above": 256
  59.             }
  60.           }
  61.         },
  62.         "PRODUCT_ID": {
  63.           "type": "text",
  64.           "fields": {
  65.             "keyword": {
  66.               "type": "keyword",
  67.               "ignore_above": 256
  68.             }
  69.           }
  70.         }
  71.       }
  72.     },
  73.     "goodsListInCate": {
  74.       "properties": {
  75.         "CATE_ID": {
  76.           "type": "text",
  77.           "fields": {
  78.             "keyword": {
  79.               "type": "keyword",
  80.               "ignore_above": 256
  81.             }
  82.           }
  83.         },
  84.         "GOODSLIST": {
  85.           "type": "nested",
  86.           "properties": {
  87.             "GOOD_ID": {
  88.               "type": "text",
  89.               "fields": {
  90.                 "keyword": {
  91.                   "type": "keyword",
  92.                   "ignore_above": 256
  93.                 }
  94.               }
  95.             },
  96.             "ONLINE": {
  97.               "type": "text",
  98.               "fields": {
  99.                 "keyword": {
  100.                   "type": "keyword",
  101.                   "ignore_above": 256
  102.                 }
  103.               }
  104.             },
  105.             "ENABLED": {
  106.               "type": "text",
  107.               "fields": {
  108.                 "keyword": {
  109.                   "type": "keyword",
  110.                   "ignore_above": 256
  111.                 }
  112.               }
  113.             }
  114.           }
  115.         },
  116.         "LASTMODIFYDATETIME": {
  117.           "type": "long"
  118.         }
  119.       }
  120.     }
  121.   }
  122. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement