add function: search function: support params search