A plugin to connect to the ElasticSearch instance and perform a set of basic operations.
Installation:
- Install JDK 1.8 or more.
- Download or clone the sources.
- Install Gradle and execute "gradle wrapper" command in a root project folder console.
- Execute the "gradlew clean build" command in a root project folder console.
- In the IDE window go to File -> Settings -> Plugins -> Install plugin from disk.
- Select a ZIP file from the "/build/distributions" folder.
- Press OK and restart the IDE.
Usage:
- In the IDE go to the Elasticsearch -> Connect to Elasticsearch
- Enter a host name;
- Enter a port;
- Optionally enter a scheme (protocol); if empty, "http" will be used by default to connect;
- In case of success, after information messages about a successful connection establishment, the "elasticsearch-query.json" scratch file for requests will be opened.
- Enter a query into the opened scratch file.
- Select a part of the query to evaluate and go to Elasticsearch -> Evaluate selected text on path.
- Enter a path to evaluate a query on.
- Optionally enter an HTTP method to use (POST will be used by default).
- Press OK to execute the request.