Using Swift with HP IDOL OnDemand Query Text Index API