https://blog.csdn.net/csj941227/article/details/78247031

{

"settings":{
"number_of_shards":3,
"number_of_replicas":1
},
"mappings":{
"man":{
"properties":{
"word_count":{
"type":"integer"
},
"author":{
"type":"text"
},
"title":{
"type":"text"
},
"publish_date":{
"type":"date",
"format":"yyyy-MM-dd HH:mm:ss || yyyy-MM-dd || epoch_millis"
}
}
}
}

}

ElasticSearch学习(一)创建索引


相关文章:

  • 2021-12-18
  • 2021-07-31
  • 2021-10-01
  • 2021-05-31
猜你喜欢
  • 2021-06-19
  • 2021-07-28
  • 2021-10-15
  • 2021-12-20
  • 2022-12-23
  • 2022-01-20
  • 2021-04-24
相关资源
相似解决方案