code: def search(self, query):
          
          logger.info("Catalog query={}".format(query))
  
          # Support to set the catalog as a request parameter
          catalogs = _.to_list(req.get("catalog", None))
          if catalogs:
              return senaiteapi.search(query, catalog=catalogs)
          # Delegate to the search API of Bika LIMS
          return senaiteapi.search(query)
docs: search the catalog