elasticsearch-client

Elasticsearch client for atom

KunihikoKido

6,443

8

0.9.5

MIT

GitHub

This package consumes the following services:

Elasticsearch Client for Atom

Elasticsearch Client allows you to build an Rest API request in Atom editor and view the response.

overview

Installation

Atom Package: https://atom.io/packages/elasticsearch-client

apm install elasticsearch-client

Or Preferences ➔ Settings/Install ➔ Search for elasticsearch-client

Using

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

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.

Supported Elasticsearch Versions

Supporting Elasticsearch Version 0.90 to 1.7

Set the apiVersion option. To tell the client which version of Elastisearch you are using. Default to 1.7

Snippets

Currently this should work in .json file or Supported Grammars.

Commands

Command for Search & Document APIs

Command for Cat APIs

Command for Cluster APIs

Command for Indices APIs

Command for Nodes APIs

Command for Snapshot APIs

Helper Commands

Command for User Settings

Screenshots

Search Request Body Command

search

Cat Api Command

cat

Helper Reindex Command

reindex

Helper Benchmark

reindex

Recommended Atom Packages for Elasticsearch Developers