Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 43 lines (26 sloc) 0.851 kb

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

Something went wrong with that request. Please try again.