简体   繁体   中英

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.

knowing that (based on a stackoverflow answer)... I tried to create a new file called elasticsearch.yml, and add index_max_result_window = 15000, but this didn't work for latest versions of elasticsearch

Use index.max_result_window instead .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM