Skip to content
This repository was archived by the owner on Mar 8, 2022. It is now read-only.

Repository files navigation

An ElasticSearch client with ThriftClient-like failover handling.

Copyright 2010-2011 Grant Rodgers. See included LICENSE file.

  • Automatic failover, retry, and peer discovery

  • Support for multiple transports (HTTP, Thrift, Memcached TODO)

  • Support for multiple encodings (JSON (Yajl), Smile TODO)

Instantiate a client:

client = ElasticSearch.new('127.0.0.1:9200', :index => "twitter", :type => "tweet")

API:

client.index({:body => "elasticsearch is cool"}, :id => 1)
client.get("1")
client.search("body:elasticsearch")

See TODO file.

github.com/grantr/rubberband

Fork, code, send pull request

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages