File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Nest/Indices/IndexManagement/CreateIndex
Tests/Tests/Indices/IndexManagement/CreateIndex Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,15 @@ public interface ICreateIndexResponse : IAcknowledgedResponse
7
7
{
8
8
[ JsonProperty ( "shards_acknowledged" ) ]
9
9
bool ShardsAcknowledged { get ; }
10
+
11
+ [ JsonProperty ( "index" ) ]
12
+ string Index { get ; }
10
13
}
11
14
12
15
public class CreateIndexResponse : AcknowledgedResponseBase , ICreateIndexResponse
13
16
{
14
17
public bool ShardsAcknowledged { get ; set ; }
18
+
19
+ public string Index { get ; set ; }
15
20
}
16
21
}
Original file line number Diff line number Diff line change @@ -205,6 +205,7 @@ protected override void ExpectResponse(ICreateIndexResponse response)
205
205
response . ShouldBeValid ( ) ;
206
206
response . Acknowledged . Should ( ) . BeTrue ( ) ;
207
207
response . ShardsAcknowledged . Should ( ) . BeTrue ( ) ;
208
+ response . Index . Should ( ) . Be ( CallIsolatedValue ) ;
208
209
209
210
var indexSettings = Client . GetIndexSettings ( g => g . Index ( CallIsolatedValue ) ) ;
210
211
You can’t perform that action at this time.
0 commit comments