DEV Community

Discussion on: Getting Started with Elasticsearch and Ruby

Collapse
 
storrence88 profile image
Steven Torrence

Hey, Molly! Thanks for writing such a great article/walkthrough. I saw there are gems that act as a wrapper for elastic search like Searchkick.

How do things like that differ from the implementation you’ve shown above? Are there performance benefits to doing it either way?

Collapse
 
molly profile image
Molly Struve (she/her)

The benefit of using the plain ruby wrapper is that you have much more control over what and how you are searching. The more you abstract the Elasticsearch interactions away like with Searchkick the less control you have. The trade-off is that it can be very easy to get up and running quickly with minimal understanding of Elasticsearch itself.

Collapse
 
storrence88 profile image
Steven Torrence

I see. Makes total sense. Thanks for the quick reply!