Elasticsearch Snippets for Visual Studio Code
Elasticsearch Snippets in Visual Studio Code.
Support Elasticsearch 5.1
Snippets are available for languages:
- Javascript
- Typescript
- Elasticsearch (need to install this extension)
Installation
Type cmd-shift-p /ctrl-shift-p to launch command palette and choose Extensions: Install Extension . Search for Elasticsearch Snippets and install.
Usage
Type part of a snippet, press enter or tab
Snippets
Query
Trigger |
Description |
Reference |
es-term |
Query term |
link |
es-terms |
Query terms |
link |
es-range |
Query range |
link |
es-exists |
Query exists |
link |
es-prefix |
Query prefix |
link |
es-prefix-adv |
Query prefix + extra options |
link |
es-wildcard |
Query wildcard |
link |
es-wildcard-adv |
Query wildcard + extra options |
link |
es-regexp |
Query regexp |
link |
es-regexp-adv |
Query regexp + extra options |
link |
es-fuzzy |
Query fuzzy |
link |
es-fuzzy-adv |
Query fuzzy + extra options |
link |
es-type |
Query type |
link |
es-ids |
Query ids |
link |
Metric Aggregation
Trigger |
Description |
Reference |
es-agg-avg |
Agg avg |
link |
es-agg-cardinality |
Agg cardinality |
link |
es-agg-extstats |
Agg extended stats |
link |
es-agg-geobounds |
Agg geo bounds |
link |
es-agg-geocentroid |
Agg geo centroid |
link |
es-agg-max |
Agg max |
link |
es-agg-min |
Agg min |
link |
es-agg-percentiles |
Agg percentiles |
link |
es-agg-percentiles-rank |
Agg percentiles rank |
link |
es-agg-scripted-metric |
Agg scripted metric |
link |
es-agg-stats |
Agg stats |
link |
es-agg-sum |
Agg sum |
link |
es-agg-top-hits |
Agg top hits |
link |
es-agg-value-count |
Agg value count |
link |
Bucket Aggregation
Trigger |
Description |
Reference |
es-agg-children |
Agg children |
link |
es-agg-date-histogram |
Agg date histogram |
link |
es-agg-date-range |
Agg date range |
link |
es-agg-div-sampler |
Agg diversified sampler |
link |
es-agg-geo-distance |
Agg geo distance |
link |
es-agg-geohash-grid |
Agg geo hash grid |
link |
es-agg-global |
Agg geo global |
link |
es-agg-histogram |
Agg histogram |
link |
es-agg-iprange |
Agg IP range |
link |
es-agg-missing |
Agg missing |
link |
es-agg-nested |
Agg nested |
link |
es-agg-range |
Agg range |
link |
es-agg-reverse-nested |
Agg reverse nested |
link |
es-agg-sig-terms |
Agg significant terms |
link |
es-agg-terms |
Agg agg terms |
link |
| |