I have created database and collections into mongoDB using pymongo and I want to import documents from MongoDB to solr for creating search engine from my application. I have used mongo connector for importing document and documents are imported but only id field is showing when I fire search query.
I have defined and checked schema like million times,it's perfectly fine I am just not able to figure out what is the problem because id of documents which are imported are as same as mongodb documents which shows documents gets imported correctly but why other fields of document are not showing?
document in solr:look at the id field which is same as mongodb document here
I have defined schema of the collection as follows:
Please help me I have searched entire Internet but could not find what the problem really is.
This is also my final year project and I have just learned solr and don't know much about it and I am short of time too, so any help will be life-saving.