brand.json 2.94 KB
{
    "brand": {
        "_all": {
            "enabled": false
        },
        "_source": {
            "enabled": true
        },
        "properties": {
            "brandAlif": {
                "type": "string",
                "index":    "not_analyzed"
            },
            "brandIco": {
                "type": "string",
                "index":    "not_analyzed"
            },
            "id": {
                "type": "long"
            },
            "status": {
                "type": "integer"
            },
            "isHot": {
                "type": "string",
                "index":    "not_analyzed"
            },
            "brandKeyword": {
                "type": "string",
                "index":    "not_analyzed"
            },
            "hotKeyword": {
                "type": "string",
                "index":    "not_analyzed"
            },
            "brandName": {
                "fields": {
                    "brandName": {
                        "type": "string",
                        "analyzer": "lowercase_standard",
                        "search_analyzer": "lowercase_standard"
                    },
                    "brandName_ansj": {
                        "type": "string",
                        "store": false,
                        "analyzer": "ik_complex",
                        "search_analyzer": "ik_complex"
                    },
                    "brandName_pinyin": {
                        "type": "string",
                        "store": false,
                        "analyzer": "pinyin_analyzer",
                        "search_analyzer": "standard"
                    }
                },
                "type": "multi_field"
            },
            "brandNameCn": {
                "fields": {
                    "brandNameCn": {
                        "type": "string",
                        "analyzer": "lowercase_standard",
                        "search_analyzer": "lowercase_standard"
                    },
                    "brandNameCn_ansj": {
                        "type": "string",
                        "store": false,
                        "analyzer": "ik_complex",
                        "search_analyzer": "ik_complex"
                    },
                    "brandNameCn_pinyin": {
                        "type": "string",
                        "store": false,
                        "analyzer": "pinyin_analyzer",
                        "search_analyzer": "standard"
                    }
                },
                "type": "multi_field"
                
            },
            "brandNameEn": {
                "type": "string",
                "analyzer": "lowercase_standard",
                "search_analyzer": "lowercase_standard"
            },
            "brandDomain": {
                "type": "string",
                "analyzer": "lowercase_standard",
                "search_analyzer": "lowercase_standard"
            }
        }
    }
}