elasticsearch简单整理笔记

jdk 安装:
https://www.cnblogs.com/xqzt/p/4934451.html


官网:
https://discuss.elastic.co/t/elasticsearch-can-not-run-elasticsearch-as-root/91616

 

vi /usr/local/elasticsearch/config/elasticsearch.yml
sh /usr/local/elasticsearch/bin/elasticsearch -d

 

vi /usr/local/es_slave1/config/elasticsearch.yml
sh /usr/local/es_slave1/bin/elasticsearch -d


vi /usr/local/es_slave2/config/elasticsearch.yml
sh /usr/local/es_slave2/bin/elasticsearch -d
grunt server &

curl -XPOST http://http://39.105.47.187:9200/_cluster/nodes/_shutdown

chown -R es:es /usr/local/elasticsearch/
chown -R es:es /data/


查看内存:
http://39.107.36.109:9200/_cat/segments/case_all_jdbc?v

愿意奉:
http://www.ruanyifeng.com/blog/2017/08/elasticsearch.html

/es_data
ik分词原理
https://blog.csdn.net/zhaojianting/article/details/75502457

分词安装:
https://blog.csdn.net/u011499747/article/details/78917718
https://blog.csdn.net/kkkloveyou/article/details/78210139
https://blog.csdn.net/lilongsy/article/details/78284854

https://blog.csdn.net/napoay/article/details/53907921

拼音分词:
https://blog.csdn.net/napoay/article/details/53907921


node 安装:
https://blog.csdn.net/xerysherryx/article/details/78920978


跨域:
https://blog.csdn.net/shiyaru1314/article/details/71557228
http.cors.enabled: true
http.cors.allow-origin: /.*/

报错问题
http://blog.chinaunix.net/uid-26168435-id-5759443.html


http://39.107.36.109:9200/
http://39.107.36.109:9100/
npm run start


es5常见问题:
https://blog.csdn.net/qq_21387171/article/details/53577115

 

 


中文分词 :

还未看:
https://blog.csdn.net/kkkloveyou/article/details/78210139

 


es内置脚本语言
python js

 


高级查询 语法查询 正则匹配获取能解决魔幻检索问题

 


http://www.thinkphp.cn/code/1290.html


curl 'http://39.107.36.109:9200//zhouls/_analyze?pretty=true' -d '{"text":"这里是好记性不如烂笔头感叹号的博客园"}'


curl -XPOST "http://39.107.36.109:9200/book/_analyze?analyzer=ik_max_word&text=中华人民共和国"


查看索引大小
http://39.107.36.109:9200/_cat/indices?v&pretty

 

数据类型:
https://blog.csdn.net/chengyuqiang/article/details/79048800

 

拼音分词测试:
http://39.107.36.109:9200/index/_analyze?analyzer=pinyin&text=黄晓明

 

php elasticsearch
https://blog.csdn.net/zpf336/article/details/48627789
php composer.phar require elasticsearch/elasticsearch


git 报错问题
https://blog.csdn.net/c20081052/article/details/78418858?locationNum=1&fps=1

 


php文档:
https://www.elastic.co/guide/cn/elasticsearch/php/current/_getting_documents.html

权威指南:
https://es.xiaoleilu.com/054_Query_DSL/55_Request_body_search.html

thinkphp elastifc
http://www.thinkphp.cn/code/1290.html

 

朋友推荐给的:
权威指南:https://es.xiaoleilu.com/010_Intro/10_Installing_ES.html
文档:https://www.elastic.co/guide/cn/elasticsearch/guide/current/phrase-matching.html
.集群配置 参考:http://www.cnblogs.com/liuchuanfeng/articles/7059268.html
最终查看集群部署指令 curl -XGET 'http://172.17.29.174:9200/_cluster/health?pretty'

 

官网php文档:
https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/index.html

 


elasticsearch 对应文档:
https://www.elastic.co/guide/en/elasticsearch/reference/5.5/query-dsl-bool-query.html#_scoring_with_literal_bool_filter_literal


mysql数据同步:
https://www.jianshu.com/p/db9c9108c09a


监控
https://www.slll.info/archives/2526.html?replytocom=14067

 

logstash安装和logstash-input-jdbc插件
https://blog.csdn.net/q15150676766/article/details/75949679
https://blog.csdn.net/yeyuma/article/details/50240595
logstach官方教程:
https://www.elastic.co/blog/logstash-jdbc-input-plugin

 

ruby安装:
https://blog.csdn.net/u012063703/article/details/53953893

 

logstash 启动报错了 Unrecognized VM option 'UseParNewGC'
https://elasticsearch.cn/question/4284

 

 

 

let &termencoding=&encoding
set fileencodings=utf-8,gbk

 

 


./logstash -f /usr/local/logstash/bin/config-mysql/mysql.conf
/usr/local/logstash/bin/logstash -f /usr/local/logstash/bin/config-mysql/case_all.conf
/usr/local/logstash/bin/logstash -f /usr/local/logstash/bin/config-mysql/case_all_seg.conf

 

posted on 2018-12-24 17:09  ziyi_ang  阅读(113)  评论(0编辑  收藏  举报

导航