zoukankan      html  css  js  c++  java
  • elasticsearch 7.x 及以上 mapper_parsing_exception Root mapping definition has unsupported parameters

    是否同如下格式: 

    {
        "settings":{
    	    "number_of_shards":5,
    	    "number_of_replicas":1
    	 },  
        "mappings" : {
            "properties":{
                "id":{
                    "type":"text",
                    "store":true,
                    "analyzer":"ik_smart"
                },
                "title":{
                    "type":"text",
                    "store":true,
                    "analyzer": "ik_smart"
                },
                "content":{
                    "type":"text",
                    "store":true,
                    "analyzer": "standard"
                }
            }
        }
        
    }
    

      

    7.x 以上版本, 使用默认的_doc作为type, 不需要自定义type名称

  • 相关阅读:
    Core Java 5
    pyDay11
    c++第二十一天
    pyDay10
    c++第二十天
    RadioButton控件
    ListBox控件
    Image控件
    FileUpload控件
    DropDownList控件
  • 原文地址:https://www.cnblogs.com/chenxi-mxj/p/12360752.html
Copyright © 2011-2022 走看看