Repository is archived
No commit activity in last 3 years
No release in over 3 years
Thrift client for ElasticSearch
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

< 1.9.0, >= 1.6.0
~> 0.9.1
 Project Readme

Elastic Search Thrift

Ruby ElasticSearch client that uses the thrift transport.

Install

gem install elastic_search_thrift

You will of course also need the thrift transport plugin for ElasticSearch.

Usage

require 'elastic_search_thrift'

# This is the default configuration.
ElasticSearchThrift.configure(host: '127.0.0.1', port: 9500)

ElasticSearchThrift.client.open do |client|
  client.get('/')
end

Tire Integration

ElasticSearchThrift.configure_tire

Contributing

  • Bug reports
  • Source
  • Patches: Fork on Github, send pull request.
    • Include tests where practical.
    • Leave the version alone, or bump it in a separate commit.

Copyright

Copyright (c) George Ogata. See LICENSE for details.