![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Elasticsearch6.4.3
我有一台FC
沉迷学习,日渐消瘦。
展开
-
Elasticsearch6.4.3——解决BigDecimal数据存储错误
int disableDecimalFeature = JSON.DEFAULT_PARSER_FEATURE & ~Feature.UseBigDecimal.getMask(); indexDoc.setSource(parseObject(jsonStr, JSONObject.class, disableDecimalFeature)); esService.createIndexDoc(indexDoc);原创 2022-02-15 14:41:53 · 1986 阅读 · 0 评论 -
Elasticsearch6.4.3——SpringBoot2.1.x整合
1、添加依赖、根据项目需要,排除了jackson的三个依赖,可不排除。 <dependency> <groupId>org.elasticsearch.client</groupId> <artifactId>elasticsearch-rest-high-level-client</artifactId> <version>6.4.3</version&g原创 2022-02-15 14:36:28 · 1071 阅读 · 0 评论 -
Elasticsearch6.4.3——安装es浏览器可视化界面elasticsearch-head
本地安装git,使用git命令git clone git://github.com/mobz/elasticsearch-head.git修改package.json的"Apache2.0",改为“Apache-2.0”{ "name": "elasticsearch-head", "version": "0.0.0", "description": "Front end for an elasticsearch cluster", "main": "_site/index.html",原创 2022-01-25 16:21:42 · 1987 阅读 · 0 评论 -
Elasticsearch6.4.3——启动es
不能以root用户启动新建用户adduser username设置密码passwd username将es目录权限赋给刚创建的用户chown -R username /usr/local/elasticsearch切换用户 su username进入到es的bin目录启动 ./elasticsearch -d服务器测试: curl 127.0.0.1:9200服务器安全组开放9200端口浏览器测试:服务器公网IP:9200...原创 2022-01-25 15:31:56 · 2930 阅读 · 0 评论 -
Elasticsearch6.4.3——jvm.options配置
## JVM configuration################################################################## IMPORTANT: JVM heap size#################################################################### You should always set the min and max JVM heap## size to the same val原创 2022-01-21 15:18:14 · 1323 阅读 · 0 评论 -
Elasticsearch6.4.3——elasticsearch.yml配置修改
# ======================== Elasticsearch Configuration =========================# ---------------------------------- Cluster -----------------------------------## Use a descriptive name for your cluster:#cluster.name: 72-shopping## -----------------原创 2022-01-21 15:13:56 · 1068 阅读 · 0 评论 -
Elasticsearch6.4.3——JDK环境配置
es6.x不需更改elasticsearch-env,使用系统配置的JDK。以下为es7.x的配置:# now set the path to javaif [ ! -z "$ES_JAVA_HOME" ]; then JAVA="$ES_JAVA_HOME/bin/java" JAVA_TYPE="ES_JAVA_HOME"elif [ ! -z "$JAVA_HOME" ]; then # fallback to JAVA_HOME echo "warning: usage of原创 2022-01-21 15:13:23 · 1843 阅读 · 0 评论 -
Elasticsearch6.4.3
安装版本与待整合版本的尽量一致下载地址:https://www.elastic.co/downloads/past-releases原创 2022-01-21 15:12:19 · 573 阅读 · 0 评论