Add documentation for searchMethod