Implemented the catalog search.