pagination in elasticsearch

How to Perform Pagination in Elastic Search (NodeJS)

Elastic search is a search engine based on the Lucene library. It provides a full-text search engine with an HTTP interface. The data is stored in the form of the schema-free JSON format. Elastic search can be used to search any kind of document. It provides scalable search, with a near real-time search capability. The communication with the elastic search happens through HTTP-based REST.