brand.json 2.29 KB
{
  "brand": {
    "_all": {
      "enabled": false
    },
    "_source": {
      "enabled": true
    },
    "properties": {
      "brandAlif": {
        "type": "keyword"
      },
      "brandIco": {
        "type": "keyword"
      },
      "id": {
        "type": "long"
      },
      "yohoBrandId": {
        "type": "long"
      },
      "isGlobal": {
        "type": "keyword"
      },
      "status": {
        "type": "integer"
      },
      "isHot": {
        "type": "keyword"
      },
      "brandKeyword": {
        "type": "keyword"
      },
      "hotKeyword": {
        "type": "keyword"
      },
      "brandName": {
        "type": "text",
        "analyzer": "lowercase_standard",
        "search_analyzer": "lowercase_standard",
        "fields": {
          "brandName_ansj": {
            "type": "text",
            "analyzer": "ik_complex",
            "search_analyzer": "ik_complex_search"
          },
          "brandName_pinyin": {
            "type": "text",
            "analyzer": "pinyin_analyzer",
            "search_analyzer": "ik_complex_search"
          }
        }
      },
      "brandNameCn": {
        "type": "text",
        "analyzer": "lowercase_standard",
        "search_analyzer": "lowercase_standard",
        "fields": {
          "brandNameCn_ansj": {
            "type": "text",
            "analyzer": "ik_complex",
            "search_analyzer": "ik_complex"
          },
          "brandNameCn_pinyin": {
            "type": "text",
            "analyzer": "pinyin_analyzer",
            "search_analyzer": "standard"
          }
        }
      },
      "brandNameEn": {
        "type": "text",
        "analyzer": "lowercase_standard",
        "search_analyzer": "lowercase_standard"
      },
      "brandDomain": {
        "type": "text",
        "analyzer": "lowercase_standard",
        "search_analyzer": "lowercase_standard"
      },
      "shelvesBrandTime": {
        "type": "integer"
      },
      "brandFeature": {
        "type": "string",
        "index":    "not_analyzed"
      },
      "maxSortIds": {
        "type": "text",
        "analyzer": "comma_spliter"
      },
      "middleSortIds": {
        "type": "text",
        "analyzer": "comma_spliter"
      },
      "smallSortIds": {
        "type": "text",
        "analyzer": "comma_spliter"
      }
    }
  }
}