docs: function generateQuery(searchParams, cb) {
    if (searchParams.query ) {
      searchSubmissions.queryBuilder(searchParams.query, cb);
    } else {
      return cb(undefined, buildQuery(searchParams));
    }
  }