Delete all elasticsearch indices directly without curl

前端 未结 1 1093
天命终不由人
天命终不由人 2021-01-22 17:31

I am starting elasticsearch, and getting the error:

java.lang.IllegalStateException: unable to upgrade the mappings for the index [[documents/xOOEXQB-RzGhQp7o7NN         


        
相关标签:
1条回答
  • 2021-01-22 17:35

    You probably have some remaining indices that are incompatible with your newest ES version, most certainly you were on ES 1.x before.

    You can simply delete anything under the $ES_HOME/data/* folder. Since you installed ES via brew, ES_HOME is usually located at /usr/local/Cellar/elasticsearch

    0 讨论(0)
提交回复
热议问题