fix documentation of the search method