Skip to content

Commit 5a60159

Browse files
committed
Merge branch 'master' of github.com:elastic/elasticsearch-net
2 parents ebcd9d6 + 66f1419 commit 5a60159

File tree

16 files changed

+15352
-15352
lines changed

16 files changed

+15352
-15352
lines changed

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiGenerator.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,8 @@ public static string CreateMethodName(string apiEnpointKey)
286286

287287
public void GenerateClientInterface(RestApiSpec model)
288288
{
289-
var targetFile = EsNetFolder + @"IElasticsearchClient.Generated.cs";
290-
var source = RazorHelper.Execute(File.ReadAllText(ViewFolder + @"IElasticsearchClient.Generated.cshtml"), model).ToString();
289+
var targetFile = EsNetFolder + @"IElasticLowLevelClient.Generated.cs";
290+
var source = RazorHelper.Execute(File.ReadAllText(ViewFolder + @"IElasticLowLevelClient.Generated.cshtml"), model).ToString();
291291
File.WriteAllText(targetFile, source);
292292
}
293293

@@ -300,8 +300,8 @@ public void GenerateRawDispatch(RestApiSpec model)
300300
}
301301
public void GenerateRawClient(RestApiSpec model)
302302
{
303-
var targetFile = EsNetFolder + @"ElasticsearchClient.Generated.cs";
304-
var source = RazorHelper.Execute(File.ReadAllText(ViewFolder + @"ElasticsearchClient.Generated.cshtml"), model).ToString();
303+
var targetFile = EsNetFolder + @"ElasticLowLevelClient.Generated.cs";
304+
var source = RazorHelper.Execute(File.ReadAllText(ViewFolder + @"ElasticLowLevelClient.Generated.cshtml"), model).ToString();
305305
File.WriteAllText(targetFile, source);
306306
}
307307

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace Elasticsearch.Net
2222
///<summary>
2323
///Raw operations with elasticsearch
2424
///</summary>
25-
public partial class ElasticsearchClient : IElasticsearchClient
25+
public partial class ElasticLowLevelClient : IElasticLowLevelClient
2626
{
2727
</text>
2828
foreach (var kv in model.Endpoints)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace Elasticsearch.Net
1818
///Generated of commit @Model.Commit
1919
///</pre>
2020
///</summary>
21-
public partial interface IElasticsearchClient
21+
public partial interface IElasticLowLevelClient
2222
{
2323
//IConnection Connection { get; }
2424
//IConnectionConfigurationValues Settings { get; }

src/Elasticsearch.Net/Configuration/ConnectionConfiguration.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
namespace Elasticsearch.Net
1414
{
1515
/// <summary>
16-
/// ConnectionConfiguration allows you to control how ElasticsearchClient behaves and where/how it connects
16+
/// ConnectionConfiguration allows you to control how ElasticLowLevelClient behaves and where/how it connects
1717
/// to elasticsearch
1818
/// </summary>
1919
public class ConnectionConfiguration : ConnectionConfiguration<ConnectionConfiguration>
@@ -23,7 +23,7 @@ public class ConnectionConfiguration : ConnectionConfiguration<ConnectionConfigu
2323
public static readonly TimeSpan DefaultPingTimeoutOnSSL = TimeSpan.FromSeconds(5);
2424

2525
/// <summary>
26-
/// ConnectionConfiguration allows you to control how ElasticsearchClient behaves and where/how it connects
26+
/// ConnectionConfiguration allows you to control how ElasticLowLevelClient behaves and where/how it connects
2727
/// to elasticsearch
2828
/// </summary>
2929
/// <param name="uri">The root of the elasticsearch node we want to connect to. Defaults to http://localhost:9200</param>
@@ -33,7 +33,7 @@ public ConnectionConfiguration(Uri uri = null)
3333
{ }
3434

3535
/// <summary>
36-
/// ConnectionConfiguration allows you to control how ElasticsearchClient behaves and where/how it connects
36+
/// ConnectionConfiguration allows you to control how ElasticLowLevelClient behaves and where/how it connects
3737
/// to elasticsearch
3838
/// </summary>
3939
/// <param name="connectionPool">A connection pool implementation that'll tell the client what nodes are available</param>

src/Elasticsearch.Net/ElasticsearchClient.Generated.cs renamed to src/Elasticsearch.Net/ElasticLowLevelClient.Generated.cs

Lines changed: 7931 additions & 7931 deletions
Large diffs are not rendered by default.

src/Elasticsearch.Net/ElasticsearchClient.cs renamed to src/Elasticsearch.Net/ElasticLowLevelClient.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Elasticsearch.Net
66
/// <summary>
77
/// Low level client that exposes all of elasticsearch API endpoints but leaves you in charge of building request and handling the response
88
/// </summary>
9-
public partial class ElasticsearchClient : IElasticsearchClient
9+
public partial class ElasticLowLevelClient : IElasticLowLevelClient
1010
{
1111
private readonly UrlFormatProvider _formatter;
1212

@@ -17,16 +17,16 @@ public partial class ElasticsearchClient : IElasticsearchClient
1717

1818
/// <summary>Instantiate a new low level elasticsearch client to http://localhost:9200</summary>
1919
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope")]
20-
public ElasticsearchClient() : this(new Transport<IConnectionConfigurationValues>(new ConnectionConfiguration())) { }
20+
public ElasticLowLevelClient() : this(new Transport<IConnectionConfigurationValues>(new ConnectionConfiguration())) { }
2121

2222
/// <summary>Instantiate a new low level elasticsearch client using the specified settings</summary>
2323
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope")]
24-
public ElasticsearchClient(IConnectionConfigurationValues settings) : this(new Transport<IConnectionConfigurationValues>(settings ?? new ConnectionConfiguration())) { }
24+
public ElasticLowLevelClient(IConnectionConfigurationValues settings) : this(new Transport<IConnectionConfigurationValues>(settings ?? new ConnectionConfiguration())) { }
2525

2626
/// <summary>
2727
/// Instantiate a new low level elasticsearch client explicitly specifying a custom transport setup
2828
/// </summary>
29-
public ElasticsearchClient(ITransport<IConnectionConfigurationValues> transport)
29+
public ElasticLowLevelClient(ITransport<IConnectionConfigurationValues> transport)
3030
{
3131
transport.ThrowIfNull(nameof(transport));
3232
transport.Settings.ThrowIfNull(nameof(transport.Settings));
8 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)