tblproduct.json 4.01 KB
{
    "tblproduct": {
        "_all": {
            "enabled": false
        },
        "_source": {
            "enabled": true
        },
        "properties": {
            "product_skn": {
                "type": "integer"
            },
            "product_name": {
                "type": "string",
                "store": false,
                "analyzer": "ik_complex",
                "search_analyzer": "ik_complex"
            },
            "goods_price": {
                "type": "double",
                "doc_values": true,
                "fielddata": {
                    "format": "doc_values"
                }
            },
            "brand_id": {
                "type": "long",
                "doc_values": true,
                "fielddata": {
                    "format": "doc_values"
                }
            },
            "sort_one": {
                "type": "long",
                "doc_values": true,
                "fielddata": {
                    "format": "doc_values"
                }
            },
            "sort_two": {
                "type": "long",
                "doc_values": true,
                "fielddata": {
                    "format": "doc_values"
                }
            },
            "sort_three": {
                "type": "long",
                "doc_values": true,
                "fielddata": {
                    "format": "doc_values"
                }
            },
            "sort_four": {
                "type": "long",
                "doc_values": true,
                "fielddata": {
                    "format": "doc_values"
                }
            },
            "is_limited": {
                "type": "long",
                "doc_values": true,
                "fielddata": {
                    "format": "doc_values"
                }
            },
            "country_id": {
                "type": "long",
                "doc_values": true,
                "fielddata": {
                    "format": "doc_values"
                }
            },
            "gender": {
                "type": "string",
                "index":    "not_analyzed",
                "doc_values": true,
                "fielddata": {
                    "format": "doc_values"
                }
            },
            "currency_id": {
                "type": "long",
                "doc_values": true,
                "fielddata": {
                    "format": "doc_values"
                }
            },
            "tag_price": {
                "type": "double",
                "doc_values": true,
                "fielddata": {
                    "format": "doc_values"
                }
            },
            "orign_price": {
                "type": "double",
                "doc_values": true,
                "fielddata": {
                    "format": "doc_values"
                }
            },
            "status": {
                "type": "long",
                "doc_values": true,
                "fielddata": {
                    "format": "doc_values"
                }
            },
            "stock_status": {
                "type": "long",
                "doc_values": true,
                "fielddata": {
                    "format": "doc_values"
                }
            },
            "update_time": {
                "type": "long",
                "doc_values": true,
                "fielddata": {
                    "format": "doc_values"
                }
            },
            "shelf_time": {
                "type": "long",
                "doc_values": true,
                "fielddata": {
                    "format": "doc_values"
                }
            },
			"color_ids": {
                "type": "string",
                "analyzer":"comma_spliter"
            },
            "is_global": {
                "type": "string",
                "index":    "not_analyzed",
                "doc_values": true,
                "fielddata": {
                    "format": "doc_values"
                }

            }
        }
    }
}