This folder contains several demos of ElasticSearch JavaScript client.
stats demo is showing how to build simple one page system monitor with live charts (JVM, OS, …)
This demo comes with simple html page that allows for execution of individual built-in methods in JavaScript client (not all of the methods are exposed right now but many). This demo is used mainly during development and is probably not interesting to users a lot.
ES client provides a lot of built-in methods and the goal is to cover REST API completely but it can happen that you need to issue a specific request or simply there is a new API that is not supported by JS client yet. In this case it can be handy to use request(method, path, data, callback)
method. Check query demo for simple demonstration about how you can do it.
simple.html is very basic demonstration of how ES client can be used (this demo is referenced from the main page).