I am new user to solr
and mongodb
. I have created the database and collection in mongodb
.
Now i want to import and index that
did you tried the new solr-mongodb connector?
http://blog.mongodb.org/post/29127828146/introducing-mongo-connector
https://github.com/10gen-labs/mongo-connector
You have mentioned query="{'Active':1}"
there is no document in stud collection with the field name Active
You can follow the steps mentioned in Steps to connect MongoDB and Solr using DataImportHandler
Hope it will be helpful.