随笔分类 - Elasticsearch
摘要:1 索引操作 1) 创建索引 对比关系型数据库,创建索引就等同于创建数据库 在HTTP工具中,向 ES 服务器发 PUT 请求 : http://127.0.0.1:9200/shopping { "acknowledged"【响应结果】 : true, # true 操作成功 "shards_ac
阅读全文
摘要:1 相关概念 1.1 单机 & 集群 单台 Elasticsearch 服务器提供服务,往往都有最大的负载能力,超过这个阈值,服务器性能就会大大降低甚至不可用,所以生产环境中,一般都是运行在指定服务器集群中。 除了负载能力,单点服务器也存在其他问题: 单台机器存储容量有限 单服务器容易出现单
阅读全文
摘要:ElasticSearch 官网 https://www.elastic.co/cn/ 中文社区 https://elasticsearch.cn/ 1.1 什么是 ElasticSearch ? ElasticSearch(弹性搜索):是一款开源的分布式、 RESTful 风格的搜索和数据分析引擎
阅读全文
摘要:Springboot 2.3.7.RELEASE application.yml spring: application: name: es-application elasticsearch: rest: uris: http://localhost:9200 pojo package com.e
阅读全文
摘要:https://blog.csdn.net/weixin_43549350/article/details/116306804 https://www.jb51.net/article/211278.htm https://blog.csdn.net/chengyuqiang/article/det
阅读全文