Performing advanced traversals through mongodb collections, based on URL patterns.