-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Readme examples and ExampleRepo are not updated #79
Comments
@stomper3579 I believe you are talking about this QueryBuilders and Quries are part of ElasticSwiftQueryDSL |
I did include that import yes. |
@stomper3579 It looks like I missed some of the sections in README while updating it. Please, refer:
|
Updated examples in ElasticSwiftExamples to |
Thank you! That compiles without errors now. Unfortunately now I get the error: Here is my function based off of the readme.
|
I will need a few more details about your setup.
|
Xcode 11.2.1 just iPhone
|
Not sure where all that strikethrough came from |
strikethrough lines were because of |
As of Since request execution is completely async and based on the above snippet I would also recommend looking at example ios app here and thread here |
Thank you for helping me in this. I'm using swift 5.0 and your example helped me clean up my code some. I'm now creating the client in ViewDidLoad.
Unfortunately I'm still getting the 999 error. I've confirmed that I don't need a certificate and again I know that the credentials and URL are good as they've been tested in Postman. |
I don’t see anything wrong with the function as such. If you could provide a example app which reproduces the error in a repo and share link here. I can clone and investigate. |
I get the -999 error as well using the URLSessionAdaptorConfiguration and an elasticsearch URL using https. IT works with the NIO example. My URL and certificate are also valid. It seems like maybe the URLSession adapter is not using any of the default certificate validation. |
Funny, I am also seeing the same thing. Using an |
Ok, after looking more into my issue it appears it's impossible to use HTTPS + URLSession adapter without a custom self-signed certificate. I'll file a separate issue. |
Are there requirements for this to work beyond what's in the readme? I've tried the code samples you supply but there are numerous errors throughout. Especially in the Search section, .match doesn't exist.
The text was updated successfully, but these errors were encountered: