validates that search methods receive a params object