Skip to content

Commit d5c66c6

Browse files
committed
Added .Raw property on ElasticClient to access all the raw calls to elasticsearch
1 parent 977d1f4 commit d5c66c6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/Nest/ElasticClient.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ public IElasticSearchVersionInfo VersionInfo
4545
}
4646
}
4747

48+
public IRawElasticClient Raw { get; private set; }
49+
4850
public ElasticClient(IConnectionSettings settings)
4951
: this(settings, new Connection(settings))
5052
{
@@ -72,6 +74,8 @@ public ElasticClient(IConnectionSettings settings, IConnection connection)
7274
this.IndexSerializationSettings = indexSettings;
7375
this.PropertyNameResolver = new PropertyNameResolver();
7476

77+
this.Raw = new RawElasticClient(this.Settings, connection);
78+
7579
}
7680

7781
public bool TryConnect(out ConnectionStatus status)

src/Nest/IRawElasticClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Collections.Specialized;
44
using System.Linq;

0 commit comments

Comments
 (0)