Optimisation on doc search hit