parametrize resolver over max results