Easy way to Sync Data between MongoDB and Apache Solr

后端 未结 3 1219
醉话见心
醉话见心 2021-02-09 10:01

I recently started working with MongoDB and Apache Solr. I am using MongoDB as a data store and I want Apache Solr to create index for my data for the search feature in my appli

3条回答
  •  天命终不由人
    2021-02-09 10:31

    Did you set the replica set mode? http://docs.mongodb.org/manual/reference/replica-configuration/

    In the beginning, I was getting the same output as you described although there were no data in Solr. After, I set up replication mode, it seems that oplog file was created and mongodbconnector was correctly synchronizing with SOLR. Works quite nicely for me.

提交回复
热议问题