Skip to content

nishant-ns19/Lucene-Query-Formatter

Repository files navigation

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:

About

Format Lucene Query object strings

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages