# ES ruby client for Rails

**URL:** <https://discuss.elastic.co/t/es-ruby-client-for-rails/14607>\
**Category:** Elasticsearch\
**Created:** [November 26, 2013, 10:30pm UTC](https://discuss.elastic.co/t/es-ruby-client-for-rails/14607 "2013-11-26T22:30:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karan\_Verma](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@Karan\_Verma](https://discuss.elastic.co/u/Karan_Verma)\
**Post date:** [November 26, 2013, 10:30pm UTC](https://discuss.elastic.co/t/es-ruby-client-for-rails/14607/1 "2013-11-26T22:30:23Z")

</div>

I want to request code examples from anyone who's using ES using the new  
ruby client in their Rails application. It would be great if you could  
share the project or gists.

I have used Tire in the past and want to move to the new client. Specially, I'm  
looking for documentation of how to import data in bulk, declare mappings,  
define custom analyzers, tokenizers, and query DSL. Any pointers would be  
helpful.

This is the only documentation I could  
find [https://github.com/elasticsearch/elasticsearch-ruby](https://github.com/elasticsearch/elasticsearch-ruby) for the client,  
and is rather short as compared to that of Tire.

Thanks.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/312dc0a4-fbbb-40af-ba2b-0ac88a7f15c3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/312dc0a4-fbbb-40af-ba2b-0ac88a7f15c3%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:04am UTC](https://discuss.elastic.co/t/es-ruby-client-for-rails/14607/2 "2017-07-06T02:04:40Z")

</div>


