Advanced Elasticsearch Methods with Node.js Elasticsearch Client

Click for: original source

Kirill Goltsman cool tutorial tutorial, in which he’s going to dive deeper into elasticsearch.js describing more advanced methods and concepts like scrolling, aggregations, and analyzers.

He then goes and provides information about scrolling - e.g. if you need to return a large number of results from a single request. Then, you would probably need a cursor implemented in the Elasticsearch as a Scroll API.

Aggregations are useful whenever you want to build analytic and quantitative information over a set of documents. Metrics aggregations, bucketing aggregations, matrix aggregations and pipeline aggregations are all mentioned.

Good tutorial with example code included. Elasticsearch.js is a very powerful tool that provides one-to-one mapping with Elasticsearch REST API which means it covers the vast majority of methods used in the native Elasticsearch.

[Read More]

Tags search