ElasticSearch 如何把include_type_na
2020-08-10 本文已影响0人
我是哈斯
PUT index/_mappings?include_type_name=true
当成一个parameter去使用
另外7.0的时候,不写type就不会涉及到这方面的问题。网上很多文章都是基于旧版本的,在url中写了type,使用的过程中注意一些应该就好了
http://localhost:9200/news/
不是http://localhost:9200/news/doc