配置: network.host: 0.0.0.0 或 192.168.24.188(local)
启动-error-内存不足-需加大内存
启动-error
修改配置 :
bootstrap.memory_lock: false
bootstrap.system_call_filter: false
vim /etc/security/limits.conf
文件修改资源参数* soft nofile 65536
* hard nofile 131072
vim /etc/security/limits.d/90-nproc.conf
文件中修改最大线程数soft nproc 4096
vim /etc/sysctl.conf
文件中添加最大虚拟内存
vm.max_map_count=655360
sysctl -p
====================
analysis-ik analysis-pinyin
elasticsearch-analysis-ik
./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v6.5.1/elasticsearch-analysis-ik-6.5.1.zip
/usr/local/elasticsearch/plugins/analysis-ik
commons-codec-1.9.jar httpclient-4.5.2.jar plugin-security.policy
commons-logging-1.2.jar httpcore-4.4.4.jar
elasticsearch-analysis-ik-6.5.1.jar plugin-descriptor.properties
curl -X GET "http://192.168.1.103:9200/_analyze?pretty" -H 'Content-Type: application/json' -d'
{
"analyzer":"standard",
"text":"中华"
}'
{
"analyzer":"ik_smart",
"text":"中华"
}