2017-03-03 14 views

答えて

7

cat APIを見てください:あなたは、インデックスの作成日を取得するにはhttp://localhost:9200/_cat/indices?help

経由で使用可能なパラメータのリストを取得することができ、あなたはcreation.date(またはcreation.date.string)を使用します。たとえば、使用する

http://localhost:9200/_cat/indices?h=h,s,i,id,p,r,dc,dd,ss,creation.date.string 
+0

ありがとう!それは動作します。 – dapangmao

+0

インデックスを作成日によってソートするにはどうすればよいですか? –

+1

@VedranMaricevic ES5の場合、 'http:// localhost:9200/_cat/indices?h = h、s、i、id、p、r、dc、dd、ss、 creation.date.string&s = creation.date' – nikoshr

関連する問題