I am new user to solr and mongodb. I have created the database and collection in mongodb.
solr
mongodb
Now i want to import and index that
You have mentioned query="{'Active':1}" there is no document in stud collection with the field name Active
query="{'Active':1}"
Active
You can follow the steps mentioned in Steps to connect MongoDB and Solr using DataImportHandler
Hope it will be helpful.