问题
I am new to apache solr. I want to import data from mongodb to solr using mongo-connector for my search application. I followed steps from https://github.com/mongodb-labs/mongo-connector/wiki/Getting-Started.
I created replicaSet and replicaSet is running fine. I have also installed mongo-connector using pip install but when issue the following command:
mongo-connector -m localhost:27017 -t http://localhost:8983/solr -d solr_doc_manager
its not working. It is stuck at
Logging to mongo-connector.log.
This is the only line I am getting. How can I get rid of this problem?
回答1:
The Logging to mongo-connector.log. is not the error , it indicates that the mongo connector is started logging to mongo-connector.log if you insert the data to mongodb , it starts pushing to solr
来源:https://stackoverflow.com/questions/37894301/how-to-import-data-from-mongodb-to-apache-solr-using-mongo-connector