I am doing a kind of room reservation system where a collection is containing documents which contains two dates : a begin date and an end date. I would like to be able to find all the reservation which begin date is between two dates and end date is also between two dates. I have used MongoDB compound indexes thus I am indexing start date and end date field. However I am wondering if I can imporove my query performnce by using GEO2D indexes. For this we could convert begin date and end date to unix time, then each booking is a point whose position is (start date, end date). Using the $within operator it makes it possible to query for reservation which are in a range of start date AND end date.
Since GEO index are more used for spatial data I guess, would it make sense to use them for this specific use-case ?
Finally since GEO2D indexes are inplemented as B-Trees in MongoDB and not as R-Trees, what is the difference between traditional indexes and this GEO one?