Comments (7)
The version of Elasticsearch.Net that' I'm targeting 2.4.6 only supports netstandard1.3, net45, and net46. Di you intend to do this for the v1 package?
from elasticsearch-net-aws.
I am using these packages
<package id="AWSSDK.Core" version="3.3.14" targetFramework="net40" />
<package id="AWSSDK.DynamoDBv2" version="3.3.4.13" targetFramework="net40" />
<package id="AWSSDK.Elasticsearch" version="3.3.1.10" targetFramework="net40" />
<package id="AWSSDK.S3" version="3.3.6.1" targetFramework="net40" />
<package id="Microsoft.Owin" version="2.1.0" targetFramework="net40" />
<package id="Microsoft.Owin.Host.SystemWeb" version="2.1.0" targetFramework="net40" />
from elasticsearch-net-aws.
Ah. The AWSSDK.Elasticsearch package only has functionality for creating and updating domains. If you actually want search etc. You'll need to use NEST, Elasticsearch.Net or some other client. This package is an add-on to Elasticsearch.Net & NEST that signs the HTTP requests so you can use AWS authentication.
If you need 4.0 support it looks like you'll need to use
- Elasticsearch.Net 1.7.1
- Elasticsearch.Net.Aws-v1 1.2.4
Follow the guide for 1.7.1 in the README
NEST is a higher level client that sits on top of Elasticsearch.Net. If you want to use that you'll need to also target the appropriate version that works with Elasticsearch.Net 1.7.1
Hope this helps.
from elasticsearch-net-aws.
Also, I just checked and Elasticsearch.Net.Aws-v1 1.2.4 doesn't support 4.0, however Elasticsearch.Net 1.7.1 does. If you submit a PR I would be happy to publish a new version for you. The V1 package is maintained on the version-1
branch.
from elasticsearch-net-aws.
Thanks for the info. I will go play :-)
from elasticsearch-net-aws.
I was able to get it working with this package
<package id="Elasticsearch.Net" version="1.7.1" targetFramework="net40" />
and this code
var endpoint = GetElasticSearchEndpoint(_awsConfiguration.ElasticSearch.ContentDomain);
var baseUri = new Uri("http://" + endpoint + "/");
var settings = new Elasticsearch.Net.Connection.ConnectionConfiguration(baseUri);
var connection = new Elasticsearch.Net.Connection.HttpConnection(settings);
var uri = new Uri(baseUri, "content/article/" + contentItemId);
var document = new
{
title = article.Title,
body = article.Body,
deck = article.Deck
};
var json = JsonConvert.SerializeObject(document);
var task = connection.Put(uri, Encoding.UTF8.GetBytes(json));
Thanks for your help
from elasticsearch-net-aws.
you're welcome.
from elasticsearch-net-aws.
Related Issues (20)
- How do I create a client with the V4 Signing process HOT 7
- Elasticsearch.Net v7 Support
- Started receiving 403 for a specific application with message about request signature HOT 3
- 7.0.0 - code not being signed HOT 8
- please release a version for .net target framework 4.7 HOT 2
- v6.1.0 Not Working With .NET Standard 2.0 HOT 1
- Issue with default AWS credentials and roles HOT 3
- AWS Credentials is null HOT 3
- how to setup .net 3.x aws connection HOT 2
- Suggestion HOT 1
- AWS4Signer HOT 1
- AWS Dependencies Issue HOT 2
- Any way to use this package with the latest version of Elasticsearch NEST? HOT 2
- Enabling Request/Response Causes Signature to be Rejected HOT 2
- AWS Dependency Issue HOT 3
- I want to fork but can't build due to missing key.snk public key HOT 2
- Authorization Header not passed in Request
- OpenSearch Serverless HOT 2
- Just updating from Elasticsearch.Net.Aws 7.2.1 to 7.2.2, causes 403 from AWS OpenSearch cluster HOT 6
- Highlight error with only 2 characters HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elasticsearch-net-aws.