[英]how to increase index max result window in Elasticsearch for a rails application?
[英]How to change elasticsearch max result windows from settings inside ruby on rails application?
I want to increase the size of elasticsearch max result windows from settings inside ruby on rails (something like configuration file), so that I can just add the max result window size configuration to the rails app, without having to call it from commands or use curl。
知道(基于stackoverflow答案)...我尝试创建一个名为elasticsearch.yml的新文件,并添加index_max_result_window = 15000,但这不适用于最新版本的elasticsearch
改用index.max_result_window
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.