     ///
     /// :param: appID the application ID you have in your admin interface
     /// :param: apiKey a valid API key for the service
-    /// :param: tagFilters value of the header X-Algolia-TagFilters
+    /// :param: queryParameters value of the header X-Algolia-QueryParameters
+    /// :param: tagFilters value of the header X-Algolia-TagFilters (deprecated)
     /// :param: userToken value of the header X-Algolia-UserToken
     /// :param: hostnames the list of hosts that you have received for the service
-    public init(appID: String, apiKey: String, tagFilters: String? = nil, userToken: String? = nil, hostnames: [String]? = nil) {
+    public init(appID: String, apiKey: String, queryParameters: String? = nil, tagFilters: String? = nil, userToken: String? = nil, hostnames: [String]? = nil) {
         if count(appID) == 0 {
             NSException(name: "InvalidArgument", reason: "Application ID must be set", userInfo: nil).raise()
         } else if count(apiKey) == 0 {

        self.apiKey = apiKey
        self.tagFilters = tagFilters
        self.userToken = userToken

        if let hostnames = hostnames {
            readQueryHostnames = hostnames

        }
    }

    /// User-token header
    public var userToken: String? {
        didSet {
            if let userToken = userToken {
