Skip to content

First8/elasticsearch-editor

Repository files navigation

Introduction

This is a basic editor for Elastic Search' search DSL.

Elastic Search allows you to write queries in JSON format. There are lots of options and this can be quite overwhelming. This editor provides autocomplete and syntax highlighting, making writing the JSON file a lot easier.

Status

It is currently work in progress: most basic queries should work properly but it hasn't been tested extensively yet. If you have any feedback, don't hesitate to contact us!

This repository contains the full source created with Xtext. For more information, see http://www.first8.nl/blog/creating-a-dsl-editor-for-elastic-search-in-eclipse/.

Installing

  1. Use Eclipse Marketplace to install Xtext
  2. Download the latest release from GitHub
  3. Unzip the zip and put the jar files in the plugins directory of your Eclipse installation

After installing, you should have a 'SearchDSL editor'. It should automatically open if you create or open a '.search' file.