I am using mongodb latest version 3.4.10. i have collection name called transaction with 14000 records. the below query i ran it taking to complete 10sec.
command : db.transaction.find({mcCreatedTime : { $gte:ISODate("2017-10-01T00:00:00.000Z"), $lte:ISODate("2017-11-02T23:59:59.000Z")}})
It will return expected record with taking long time around 10 sec. I need to complete the query within msec.
I am using windows 8.1 and 4GB of RAM and 500GB hard disk.