Is it possible to replicate data from mongoDB to Solr? I\'m using ruby + sinatra + mongoid. Or i need to make hooks with after_create, after_update and so on through rsolr?<
I am not sure whether its too late. The mongo-jdbc would not work with DIH of Apache Solr, you would need to extend it. I have extended it, and you can use it from here: https://github.com/hrishik/solr-mongodb-dih
You can directly use it with Apache Solr. In that case, DIH config file will look something like below: