ruby on rails - how to add/delete record in elastic search -


i have elasticsearch data store in rails application how can add/delete record(row) , maintain indexes.ii go through es-docs

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-index_.html

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-delete-by-query.html

adding record looks lengthiest here

is there other feasible way so..

there gem https://github.com/karmi/retire allowed interacting elasticsearch


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -