productpool.json 1.65 KB
{
  "productpool": {
    "_all":{
      "enabled":false
    },
    "_source":{
      "enabled":true
    },
    "properties": {
      "id": {
        "type": "integer"
      },
      "poolId": {
        "type": "integer"
      },
      "productSkn": {
        "type": "integer"
      },
      "productId": {
        "type": "integer"
      },
      "sales": {
        "type": "string",
        "index":    "not_analyzed"
      },
      "brandId": {
        "type": "integer"
      },
      "status": {
        "type": "integer"
      },
      "attribute": {
        "type": "integer"
      },
      "smallSortId": {
        "type": "integer"
      },
      "middleSortId": {
        "type": "integer"
      },
      "maxSortId": {
        "type": "integer"
      },
      "gender": {
        "type": "string",
        "index":    "not_analyzed"
      },
      "sizeIds": {
        "type": "string",
        "analyzer": "comma_spliter"
      },
      "storageNum": {
        "type": "integer"
      },
      "salesNum": {
        "type": "integer"
      },
      "marketPrice": {
        "type": "double"
      },
      "salesPrice": {
        "type": "double"
      },
      "vipDiscountType": {
        "type": "integer"
      },
      "isDiscount": {
        "type": "string",
        "index": "not_analyzed"
      },
      "isOutlets": {
        "type": "integer"
      },
      "colorIds": {
        "type": "string",
        "analyzer": "comma_spliter"
      },
      "promotionDiscount": {
        "type": "double"
      },
      "promotionDiscountInt": {
        "type": "long"
      },
      "ageLevel": {
        "type": "string",
        "analyzer":"comma_spliter"
      }
    }
  }
}