Elasticsearch模糊检索处理代码
Elasticsearch模糊检索:数据在ES中的存储以people为例,建立数据模型: 在Elasticsearch中,不存在String类型,String类型以text、keyword类型存储。集合类型数据在ES中是以嵌套对象的方式存储(nested)。 @Document(indexName = "people", type = "people", shards = 1, repl
原创
2018-05-09 11:36:13 ·
4312 阅读 ·
0 评论