upgraded search to allow searching child documents