elasticsearch配置

Elasticsearch version: 5.1.1

Windows

Java安装

版本:jdk8+
Java Archive | Oracle 中国

安装elasticsearch-rtf

Elasticsearch-RTF是针对中文的一个发行版,即使用最新稳定的elasticsearch版本,并且帮你下载测试好对应的插件,如中文分词插件等,目的是让你可以下载下来就可以直接的使用。

Github: https://github.com/medcl/elasticsearch-rtf

启动命令:

bash 复制代码
cd elasticsearch/bin
elasticsearch.bat


head插件

下载

部署启动

bash 复制代码
git clone git://github.com/mobz/elasticsearch-head.git
cd elasticsearch-head
# npm install phantomjs@2.1.1 --ignore-scripts # run when npm install is error
npm install
npm run start

open http://localhost:9100/

此时head无法连接elasticsearch,修改elasticsearch配置文件

yml 复制代码
http.cors.enabled: true
http.cors.allow-origin: "*"
http.cors.allow-methods: OPTIONS, HEAD, GET, POST, PUT, DELETE
http.cors.allow-headers: "X-Requested-With, Content-Type, Content-Length, X-User"

重启elasticsearch即可

kibana安装

下载

启动:

部署文件下载

相关推荐
lsh曙光18 小时前
ELK日志平台--elasticsearch部署
elasticsearch
Elasticsearch18 小时前
训练量仅占 0.35%,竞争力却达到 100%:jina-embeddings-v5-omni 背后的冻结塔架构
elasticsearch
扶苏10021 天前
同一个 Git 项目整出两份,切分支互不影响?两种方案实测
大数据·git·elasticsearch
Elasticsearch1 天前
用两行 JSON 替换你的 ILM 策略:数据流生命周期新增冻结层支持
elasticsearch
AI大模型-小雄2 天前
Codex写分页接口为什么越翻越慢?用Cursor Pagination解决重复与漏数据
大数据·数据库·elasticsearch·搜索引擎·chatgpt·后端开发·codex
Elasticsearch2 天前
深入浅出 Elastic 工作流(Workflows):核心架构与十一大顶级字段详解
elasticsearch
Elasticsearch2 天前
在 Elasticsearch 中构建上下文:AI Indices 如何使用更少的 tokens 为更智能的 agent 提供支持
elasticsearch
淮北4942 天前
ubuntu22 默认输入法调整频率
运维·服务器·git·ubuntu·elasticsearch
生活皆是风景2 天前
抢占AI采信,问答布局正当时
大数据·安全·搜索引擎
Elasticsearch3 天前
Elasticsearch:使用 AI Agent 来创建 workflows
elasticsearch