code: function generateSearch(route, params) {
      var search = {}, k;
  
      for (k in params) {
        if (route.names.indexOf(k) !== -1) { continue; }
        search[k] = params[k];
      }
  
      return search;
    }
docs: Internal: Generates a search params object. The returned object contains the key/value pairs from the given `params` object with any named path params removed.  route  - A route object created by the `Router#define` method. params - An object containing both named route params and search params.  Returns an object.