elasticsearchのqueryメモ.
自分用のメモです.
elasticsearch使いやすい.
全件検索
※prettyで整形
id指定
※_sourceでsource部分のみ取得
フィールド指定
http://localhost:9200/index/type/_search?pretty&fields=field1,field2,field3
ソート
http://localhost:9200/index/type/_search?pretty&fields=field1,field2,field3&sort=field1:desc
リミット