elasticsearch.js

Official low-level client for Elasticsearch.

Features

  • One-to-one mapping with REST API and other language clients
  • Generalized, pluggable architecture. See replacing core components
  • Configurable, automatic discovery of cluster nodes
  • Persistent, Keep-Alive connections
  • Load balancing (with pluggable selection strategy) across all available nodes.

Node and the browser

elasticsearch.js works great in node, as well as modern browsers (many thanks to browserify!!).

  • Node:

Build Status

current browser support

Install in Node

npm install --save elasticsearch

Browser Builds

Download one of these browser-ready builds, or install them with bower

NOTE: The entire API is compatible with IE 10+, Chrome, Firefox, Safari, and Opera. IE 8 & 9 only support GET and POST requests cross-domain which is how the XhrConnection class makes it's requests.

bower install elasticsearch
bower install elasticsearch-angular
bower install elasticsearch-jquery

Docs

License

This software is licensed under the Apache 2 license, quoted below.

Copyright (c) 2013 Elasticsearch <http://www.elasticsearch.org>

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

   http://www.apache.org/licenses/LICENSE-2.0

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.
Description
Official Elasticsearch client library for Node.js
Readme Apache-2.0 36 MiB
Languages
TypeScript 96.7%
JavaScript 2.6%
Shell 0.7%