logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

centos下设置Es开机自启动

1、编写脚本在目录/usr/init.d/下新建脚本el-start.sh#!/bin/sh# chkconfig: 345 99 10# description: Auto-starts elastic# /etc/init.d/el-start# elastic auto-start# Source function library.#. /etc/init.d/functions# sour

ElasticSearch分片参数设置

number_of_shards:主分片数,默认为1number_of_replicas:副本分片数,默认为1可以在线修改副本分片数number_of_replicas,但主分片数number_of_shards不可以在线改curl -XPUT 'XXXX:9200/_settings' -d ' { "index" : { "number_of_replicas" : 0 } }'也可以在配置文

#elasticsearch
elasticsearch中配置 “search.max_open_scroll_context”

es使用scroll查询报异常elasticsearch.exceptions.TransportError: TransportError(500, 'search_phase_execution_exception', 'Trying to create too many scroll contexts. Must be less than or equal to: [500]. This l

#elasticsearch
暂无文章信息