why indexing is used in mongodb code example Example: mongodb index db.collection.createIndex( { name: -1 } )