Closed pjninnis closed 6 years ago
Can anyone confirm if this library should currently work with version 6.0.0+ and if so, post some sample code?
Thanks for the report. I've had to refactor after every ES major version so I suspect it is broken. I'll get around to fixing it eventually. I also accept PR's :)
Thanks, now that AWS allows us to put the ES cluster within a VPC, it no longer needs to be signed, so it's less important now anyway.
See #34 where I worked a bit towards making this library work with v6. I won't need the features in this library, so I won't pursue the PR further. However, I thought it's valuable sharing my initial findings.
Any update on getting this package working with ES 6? I've been using the 5.x nuget packages to avoid this error, however now I'm trying to write a match query and am running into this issue, which seems to only be fixed by upgrading to 6. So I'm blocked, basically...
Just pushed an update. ES 6 should now work. Please reopen if that isn't the case. https://www.nuget.org/packages/Elasticsearch.Net.Aws/6.0.0
Works great, thanks.
you're welcome
It looks like the internals of the 6.0 release has changed slightly. I'm getting this exception:
System.MissingMethodException Method not found: 'Elasticsearch.Net.PostData
1<System.Object> Elasticsearch.Net.RequestData.get_PostData()'. at Elasticsearch.Net.Aws.AwsHttpConnection.SignRequest(IRequest request, RequestData requestData) at Elasticsearch.Net.Aws.AwsHttpConnection.CreateHttpWebRequest(RequestData requestData) at Elasticsearch.Net.HttpConnection.Request[TResponse](RequestData requestData) in c:\Source\elasticsearch-net-master\src\Elasticsearch.Net\Connection\HttpConnection.cs:line 147 at Elasticsearch.Net.RequestPipeline.CallElasticsearch[TResponse](RequestData requestData) in c:\Source\elasticsearch-net-master\src\Elasticsearch.Net\Transport\Pipeline\RequestPipeline.cs:line 439 at Elasticsearch.Net.Transport
1.Request[TResponse](HttpMethod method, String path, PostData data, IRequestParameters requestParameters) in c:\Source\elasticsearch-net-master\src\Elasticsearch.Net\Transport\Transport.cs:line 68