Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>elasticsearch-snippetsNew to Visual Studio Code? Get it now.
elasticsearch-snippets

elasticsearch-snippets

andricDu

|
4,195 installs
| (1) | Free
Snippets for Elasticsearch Query DSL
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

elasticsearch-snippets

This extension provides JSON code snippets for the more commonly used queries in the Elasticsearch Query DSL.

For use on .json files.

Features

in action

Queries/Filters

  • Filtered query
  • Nested query
  • Bool query
  • Term query
  • Range query
  • Exists query
  • Ids query
  • Match query (boolean)
  • Multi Match query
  • Common Terms query
  • Function Score query
  • Has Nested Child query

Aggregations

  • Terms Aggs
  • Filter Aggs
  • Nested Aggs

0.1.1

  • Adds a multi-match query and has child query.

0.1.0

  • Adds aggregations.

0.0.1

  • Initial release.

License

GPLv3 - See here: License

  • Elasticsearch is a trademark of Elasticsearch BV, registered in the U.S. and in other countries.

For more information

  • Elasticsearch Query DSL

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft