The url is transformed into /search/01-01-2016/trainingDepartment matching pattern 2 setting both the date and the uuid variable but missing the department variable.
Regarding double slashes, The double slash is most likely due to result of an error. Having said that multiple software interprets double slashes differently. For Example, Apache treats multiple slashes as a single slash. Some like, Amazon S3 static hosting will not.
Find relevant discussion here in S.O . I believe it’s by design in Apigee Edge.