ElasticSearch
kekeoneone
offeroffer
展开
-
Spring Data ElasticSerach
1.导入依赖 <!--设置maven编译级别--> <properties> <maven.comlile.source>1.8</maven.comlile.source> <maven.comlile.target>1.8</maven.comlile.target> </properties> <dependencies>原创 2020-05-10 14:00:57 · 138 阅读 · 0 评论 -
ElasticSearch:使用PostMan
1.设置mappings映射使用PostMan工具:方法一:put时添加mappings方法二:先send,再添加改变部分:{ "mappings":{ "article":{ "properties":{ "id":{ "type":"long", "store":true }, "title":{ "type":"text", "store":true, "index":true, "ana原创 2020-05-09 20:34:02 · 512 阅读 · 0 评论