How to use elastic search in active record?

please provide idea on it

Have a look at elasticsearch-rails. This makes it fairly easy to connect a Rails model class with a search index.

Use GitHub - ankane/searchkick: Intelligent search made easy with Rails and Elasticsearch.

1 Like