I want to use an elasticsearch's plugin in a rails's application.
I installed all prerequis(elasticsearch , ruby on rails,
I started to do configurations but this don't work yet .
I have some questions, i don't really understand how can i configure
elasticsearch for my application.
I have elasticsearch running in localhost:9200, and rails running in
localhost:3000, i added escargot's plugin in my application...
I do this :
class MyModele< ActiveRecord::Base
then this :
But when i want to run my application , i have this error:
undefined local variable or method `elastic_index' for MyModele(id...)
So , how can i do to make relation between elasticsearch and my
database, or it's automatic?