node-elasticsearch

NodeJS module for ElasticSearch.

5 years after

node-elasticsearch

This is a module around the REST API for Elastic Search built for NodeJS.

Details

This works with node 0.4.x and with 0.2.x. I needed it for both and so wrote an http compatability layer.

Usage

 var lib = require('elasticsearch'), sys = require('sys'); //replace sys with util if you're on node 0.4.x
 lib.createClient(function(client) {
     client.query({query: {field: {field1: 'hai'}}}, function(err, results) {
         console.log(sys.inspect(results, true, 10));
     });
 });

API

Will go here when I'm ready to post it.

Requirements

  • NodeJS
  • Elastic Search
  • nodeunit (for testing)
  • The need for search

License

MIT

Trademarks?

Node.js™ is an official trademark of Joyent. This module is not formally related to or endorsed by the official Joyent Node.js open source or commercial project

Related Repositories

elasticsearch-whatson

elasticsearch-whatson

Whatson, an Elasticsearch Consulting Detective ...

elasticsearch-maven-plugin

elasticsearch-maven-plugin

A Maven plugin to run a single node Elasticsearch cluster during the integration ...

chef-elasticsearch-cluster

chef-elasticsearch-cluster

Chef Cookbook to Manage ElasticSearch Cluster ...

elasticsearch-node-updater

elasticsearch-node-updater

Elasticsearch Query & Update Script (node.js based) ...

bitnami-docker-elasticsearch

bitnami-docker-elasticsearch

Bitnami Docker Image for Elasticsearch ...