Quantifying stochastic search: a unifying approach via lattice random walks