2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

elasticsearch6ではまったところメモ

Posted at

ディスク容量が敷地を超えるとread-onlyになった

read-onlyの解除

$ curl -XPUT -H "Content-Type: application/json" http://localhost:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'

以下の記事を参考にしました。
https://qiita.com/micci184/items/5d8a4abd3dafc045d29c

Xmxの値を変更したら動かなくなった・・

XmxとXmsは同じにしないとダメなようだ

offset 10000以上を指定するとエラーになる

10000以上を返したい場合は以下のパラメータ設定を変える必要あり

index.max_result_window

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?