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安装

下载

启动:

部署文件下载

相关推荐
liu_sir_15 小时前
升级谷歌webview
大数据·elasticsearch·搜索引擎
Elastic 中国社区官方博客20 小时前
Elasticsearch 下采样方法:最后值采样 vs. 聚合采样
大数据·运维·elasticsearch·搜索引擎·全文检索
Andya_net1 天前
Git | Git 核心命令深入解析:从原理到实战
大数据·git·elasticsearch
daly5201 天前
新网站如何快速被 Bing 收录
搜索引擎·seo·]geo
不仙5202 天前
VMware Workstation 26.0.0 在 Ubuntu 24.04 (内核 6.17.0) 上的安装与内核模块编译问题
linux·ubuntu·elasticsearch
qziovv2 天前
Git 回退场景
大数据·git·elasticsearch
ZeroNews内网穿透2 天前
面向 AI 协作的本地客户端能力:ZeroNews Agent Skills
大数据·人工智能·elasticsearch
Elastic 中国社区官方博客2 天前
快 12 倍的 Elasticsearch 向量索引:使用 GPU 和 CPU 分层部署 NVIDIA cuVS
大数据·人工智能·elasticsearch·搜索引擎·ai·全文检索·nvidia
海兰2 天前
【实用应用】React+TypeScript+Next.js博客项目
开发语言·javascript·elasticsearch
乐观的Terry2 天前
博客系统全文搜索实战:用 Elasticsearch 告别 MySQL LIKE 查询
mysql·elasticsearch