使用postman创建es索引及映射

 

 

{
      
    "mappings" : {
            "properties":{
                "id":{
                    "type":"text"
                },
                "title":{
                    "type":"text",
                     "analyzer": "ik_max_word"
                    
                },
                "content":{
                    "type":"text",
                     "analyzer": "ik_max_word"
                },
                "publish_time":{
                    "type":"date"
                }
            }
    }
    
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-08
  • 2022-01-20
  • 2021-12-18
  • 2022-12-23
猜你喜欢
  • 2021-09-11
  • 2021-08-03
  • 2021-09-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案