brand.json 2.93 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_keyword",
                        "search_analyzer": "lowercase_keyword"
                    },
                    "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_keyword",
                        "search_analyzer": "lowercase_keyword"
                    },
                    "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_keyword",
                "search_analyzer": "lowercase_keyword"
            },
            "brandDomain": {
                "type": "string",
                "analyzer": "lowercase_keyword",
                "search_analyzer": "lowercase_keyword"
            }
        }
    }
}