ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Lucene Query Formatter

by nishant-ns19 ALL

Format Lucene Query object strings

Details

Installs

  • Total 170
  • Win 71
  • Mac 76
  • Linux 23
Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
Linux 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

README

NOTE:

THIS EXTENSION IS HELPFUL FOR DEBUGGING LOGICAL ERRORS ONLY.

Features

This extension is made for formatting object strings of Lucene Queries. These object strings are one liner which can contain thousands of words in case of complex queries due to which it becomes a cumbersome task to read and debug manually but with this formatter you can prettify your object and get a better readability of queries. This extension can be very handy for engineers working in large organisations with Elastic Search database in JAVA.

How to use

  • For Mac: “cmnd+shift+ctrl+i”
  • For Non-Mac: “win+shift+ctrl+i” ####     OR
  • Open Command Palette , choose “Format Query”

Requirements

QUERY MUST NOT CONTAIN ANY VALIDATION ERROR.

Example

  • Original Query:

  • Indented Query: