nested search with resource selection impl.