if no search parameter is specified, all the records will be retrieved.