File tree 2 files changed +8
-2
lines changed
Nest.Tests.Integration/Cluster
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,12 @@ public void SimpleState()
16
16
Assert . NotNull ( r . Metadata ) ;
17
17
Assert . NotNull ( r . Metadata . Indices ) ;
18
18
Assert . True ( r . Metadata . Indices . Count > 0 ) ;
19
+ foreach ( var index in r . Metadata . Indices )
20
+ {
21
+ Assert . NotNull ( index . Value . Mappings ) ;
22
+ Assert . True ( index . Value . Mappings . Count > 0 ) ;
23
+ }
24
+
19
25
Assert . NotNull ( r . Nodes ) ;
20
26
Assert . True ( r . Nodes . Count > 0 ) ;
21
27
Assert . NotNull ( r . RoutingNodes ) ;
Original file line number Diff line number Diff line change @@ -77,8 +77,8 @@ public class MetadataIndexState
77
77
[ JsonProperty ( "settings" ) ]
78
78
public Dictionary < string , string > Settings { get ; internal set ; }
79
79
80
- // [JsonProperty("mappings")]
81
- // public Dictionary<string, MetadataIndexStateMapping > Mappings { get; internal set; }
80
+ [ JsonProperty ( "mappings" ) ]
81
+ public Dictionary < string , dynamic > Mappings { get ; internal set ; }
82
82
83
83
//[JsonProperty("aliases")]
84
84
//public ?? Aliases { get; internal set; }
You can’t perform that action at this time.
0 commit comments