随笔分类 - es
摘要:手动删除全部业务标记索引(不能百分百释放存储) curl -XPOST http://10.0.0.161:9200/*/_forcemerge?only_expunge_deletes=true 单个索引把* 改为具体索引名称
阅读全文
摘要:问题:es请求的数据量超过默认设置的2G报错处理 RequestError(400, 'search_phase_execution_exception', 'ReleasableBytesStreamOutput cannot hold more than 2GB of data') 全部索引都设
阅读全文
摘要:es设置index.max_result_window(就是from+size,默认大小10000),可通过如下方式修改: curl -XPUT 192.168.40.31:9200/datasmart/_settings -d '{ "index.max_result_window" :"1000
阅读全文