
tools
文章平均质量分 84
漂流幻境
全力以赴
展开
-
ElasticSearch原理(系列)- match_phrase、match、prefix、wildcard比较
match GET /my_index/address/_search{ query: {match:"hello world"}} 句子中包含hello或world的都会被搜索出,比如下面的句子都会被搜索到: 1.hello tom, do you know me2.see the world match_phrase GET /my_index/address/_search{ query: {match_phr转载 2021-10-20 12:00:06 · 2713 阅读 · 1 评论 -
02- ElasticSearch(简称ES)- 文档批量操作
单个文档操作(增、改、删)# ===================# 1、创建索引PUT es_document_db# 2、PUT 新增文档PUT /es_document_db/_doc/1{ "name":"张三1", "age":1, "birthday":"2021-10-11", "address":"中国上海长宁1"}# 3、POST 新增文档POST /es_document_db/_doc{ "name":"张三a", "age":1原创 2021-10-19 17:28:30 · 1677 阅读 · 0 评论 -
01- ElasticSearch(简称ES)- 简介
ElasticSearch简介Elasticsearch是用Java开发并且是当前最流行的开源的企业级搜索引擎。能够达到实时搜索,稳定,可靠,快速,安装使用方便。客户端支持Java、.NET(C#)、PHP、Python、Ruby等多种语言。官方网站: https://www.elastic.co/下载地址:https://www.elastic.co/cn/start对比LuceneLucene可以被认为是迄今为止最先进、性能最好的、功能最全的搜索引擎库(框架)原创 2021-10-19 14:50:46 · 640 阅读 · 0 评论