Initial commit for the across type multi-match query