I'm new to Java Mongo DB. I have to Store a huge amount of data. I'm planning to store it in a collection. I have few doubt in that.
How to access the elements of a collection? (for example: Access first 5 elements or 10th to 15th elements)
Is it possible to access nth element using indexes? (I hope indexes is only for sorting the collection asc or desc order)
To store huge data using collection is enough?