spec for search params