摘要: 代码: package cn.itcast.hotel; import org.apache.http.HttpHost; import org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest; import org.elas 阅读全文
posted @ 2024-01-03 21:28 阿飞藏泪 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-01-03 21:06 阿飞藏泪 阅读(1) 评论(0) 推荐(0) 编辑
摘要: ElasticSearch 5.0以后,string类型有重大变更,移除了string类型,string字段被拆分成两种新的数据类型: text用于全文搜索的,而keyword用于关键词搜索。 ik_max_word 会将文本做最细粒度的拆分,比如会将“中华人民共和国人民大会堂”拆分为“中华人民共和 阅读全文
posted @ 2024-01-03 20:57 阿飞藏泪 阅读(3) 评论(0) 推荐(0) 编辑
1 2 3
4