ES7.3.0配置

Posted sanduzxcvbnm

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ES7.3.0配置相关的知识,希望对你有一定的参考价值。

# elasticsearch.yml
cluster.name: my-application
node.name: node-1

node.master: true
node.ingest: true
node.data: true

network.host: 172.17.107.187
http.port: 9203

transport.port: 9303

discovery.seed_hosts: ["172.17.107.187:9303", "172.17.107.187:9301","172.17.107.187:9302"]
cluster.initial_master_nodes: ["node-1"]

http.cors.enabled: true
http.cors.allow-credentials: true
http.cors.allow-origin: "*"
http.cors.allow-headers: WWW-Authenticate,X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization

xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.keystore.path: elastic-certificates.p12
xpack.security.transport.ssl.truststore.path: elastic-certificates.p12

indices.fielddata.cache.size:  40%

index.store.type: niofs
node.store.allow_mmap: false

indices.breaker.type: none
# jvm.options

-Xms2g
-Xmx2g


-XX:+UseG1GC
-XX:CMSInitiatingOccupancyFraction=75
-XX:+UseCMSInitiatingOccupancyOnly

以上是关于ES7.3.0配置的主要内容,如果未能解决你的问题,请参考以下文章

VSCode自定义代码片段11——vue路由的配置

VSCode自定义代码片段11——vue路由的配置

VS Code配置markdown代码片段

VS Code配置markdown代码片段

从零开始配置vim(27)——代码片段

从零开始配置vim(27)——代码片段