Last active
June 12, 2020 18:48
-
-
Save chris-huffman/1a9fd64d714911b1ea8eaf282a0e6ca4 to your computer and use it in GitHub Desktop.
CLI Commands to Interact with ElasticSearch (v6)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Show indexes | |
curl 127.0.0.1:9200/_cat/indices | |
#Update max_result_window to avoid error about "Result window is too large" | |
curl -XPUT "http://localhost:9200/magento2_product_1_v2/_settings" -d '{ "index" : { "max_result_window" : 500000 } }' -H "Content-Type: application/json" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment