Elasticsearch Client allows you to build an Rest API request in Atom editor and view the response.
Atom Package: https://atom.io/packages/elasticsearch-client
apm install elasticsearch-client
Or Preferences ➔ Settings/Install ➔ Search for elasticsearch-client
You can send a body.
{"query": {"match_all": {}}}
Once you have a request ready, use shortcut Ctrl + Alt + S
or open the Command Palette (Shift + Command + P) and enter Elasticsearch Search Request Body
.
Settings (Atom/Open Your Config). edit config.cson
Example
"elasticsearch-client":baseUrl: "http://localhost:9200"index: "blog"docType: "posts"servers: [{baseUrl: "http://localhost:9200"index: "blog"docType: "posts"}{baseUrl: "http://localhost:9200"index: "twitter"docType: "tweets"}]
You can switch the server, use Elasticsearch: Settings Switch Server
command.
Set the apiVersion option. To tell the client which version of Elastisearch you are using. Default to 1.7
Currently this should work in .json
file or Supported Grammars.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.