Get data from Elasticsearch by id using the Elasticsearch npm client

InstructorWill Button

Share this video with your friends

Send Tweet

Elasticsearch provides a full featured client for nodejs available via npm. In this lesson, you will learn to how install the client and use it to retrieve data from your Elasticsearch server. We will walk through retrieving data through callbacks as well as using promises.

Rajat S
~ 4 years ago

For those of us who are not passing an ApiVersion to the client, _sourceExclude needs to be _sourceExcludes