rasch1
(Frank Rasch)
July 12, 2019, 12:38pm
1
Hey,
Hopefully I have added the question in the right place:).
Currently I am using Elasticsearch.Net v.6.8.0.
var sqlRequest = new QuerySqlRequest();
sqlRequest.Query = $@"select value from index";
var result = client.QuerySql(sqlRequest);
works well and as expected.
When upgrading to Elasticsearch.Net v.7.0.1.
The method QuerySql no longer exist.
Anybody able to see what have replaced this or what i am doing wrong.
Not interested at current time to use DSL to receive data.
rasch1
(Frank Rasch)
July 14, 2019, 1:04pm
2
Hey, answering my own question..
Dohh....
SQL has received its own namespace, so methods are moved into the namespace.
Updated code:
var sqlRequest = new QuerySqlRequest();
sqlRequest.Query = $@"select value from index";
var result = client.Sql.Query(sqlRequest);
Similarly, different methods have been moved to their own namespaces:
system
(system)
Closed
August 11, 2019, 1:07pm
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.