suggest.json 2.01 KB
{
    "suggest": {
        "_all": {
            "enabled": false
        },
        "_source": {
            "enabled": true
        },
        "properties": {
            "keyword": {
                "fields": {
                    "keyword": {
                        "type": "string",
                        "index":    "not_analyzed"
                    },
                    "keyword_ik": {
                        "type": "string",
                        "store": false,
                        "analyzer": "ik_smart"
                    },
                    "keyword_pinyin": {
                        "type": "string",
                        "store": false,
                        "analyzer": "pinyin_analyzer"
                    },
                    "keyword_jianpin": {
                        "type": "string",
                        "store": false,
                        "analyzer": "pinyin_first_letter_keyword_analyzer"
                    }
                },
                "type": "multi_field"
            },
            "type": {
                "type": "long",
                "doc_values": true,
                "fielddata": {
                    "format": "doc_values"
                }
            },
            "weight": {
                "type": "long",
                "doc_values": true,
                "fielddata": {
                    "format": "doc_values"
                }
            },
            "count": {
                "type": "long",
                "doc_values": true,
                "fielddata": {
                    "format": "doc_values"
                }
            },
            "countForApp": {
                "type": "long",
                "doc_values": true,
                "fielddata": {
                    "format": "doc_values"
                }
            },
            "countForBlk": {
                "type": "long",
                "doc_values": true,
                "fielddata": {
                    "format": "doc_values"
                }
            }
        }
    }
}