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

下载

启动:

部署文件下载

相关推荐
2601_9679791219 小时前
图书恐惧症者的福音,Python官方文档使用指南
搜索引擎·基础语法·快速搜索·使用指南·python官方文档
wuyk5552 天前
Spider-第20讲-综合实战可上线爬虫
大数据·爬虫·python·elasticsearch
Elasticsearch2 天前
4 种模态、100 多种语言、1 个向量空间:Microsoft Foundry 中的 Jina Embeddings v5
elasticsearch
Elasticsearch3 天前
使用 Codex 来写入 PDF 文件并创建 AI Agent 对它进行问答
elasticsearch
草莓熊Lotso3 天前
【C++ 基于微服务的即时通讯系统】ElasticSearch 用户数据管理实现
linux·数据库·c++·elasticsearch·微服务·架构
岳涛3 天前
考古|搬迁 percolator 要先保住规则身份,ES 1.0 把它挪进了索引内
elasticsearch
岳涛3 天前
考古|旧查询和 _boost 在 ES 1.0 收掉,替换方向并不保证等价
elasticsearch
Elasticsearch3 天前
Elastic 与 HoneyHive 携手推进人工智能可观测性与评估
elasticsearch
wuyk5554 天前
Spider-第16讲-线程池与竞态问题
大数据·爬虫·python·elasticsearch·搜索引擎