ElasticSearch for Node.JS and sister project to clerk
var sage = ;var client = ;clientindex'search'type'email';
$ npm install sage
sage.min.js are the browser and minified browser versions of
the library. Modern browsers are generally supported, but not widely tested.
test/index-min.html run the mocha tests
in the browser.
Security restrictions on cross-domain requests currently limits the usefulness of the browser version. Using a local proxy or configuring Cross-Origin Resource Sharing on a proxy in front of ElasticSearch may allow you to use the library in the browser.
The library API generally follows the RESTful API, so you can use the
ElasticSearch docs as well as the sage docs to build your applications. If a
feature is missing from sage or you need to access more advanced features,
request method allows you to send custom requests directly to
Copyright 2012 Michael Phan-Ba
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.