added new implementation of complexMultiSearch()