@@ -1118,6 +1118,40 @@ public RefreshDescriptor Index<TOther>()
11181118 public RefreshDescriptor IgnoreUnavailable ( bool ? ignoreunavailable = true ) => Qs ( "ignore_unavailable" , ignoreunavailable ) ;
11191119 }
11201120
1121+ ///<summary>Descriptor for ReloadSearchAnalyzers <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-reload-analyzers.html</para></summary>
1122+ public partial class ReloadSearchAnalyzersDescriptor : RequestDescriptorBase < ReloadSearchAnalyzersDescriptor , ReloadSearchAnalyzersRequestParameters , IReloadSearchAnalyzersRequest > , IReloadSearchAnalyzersRequest
1123+ {
1124+ internal override ApiUrls ApiUrls => ApiUrlsLookups . IndicesReloadSearchAnalyzers ;
1125+ ///<summary>/{index}/_reload_search_analyzers</summary>
1126+ ///<param name = "index">this parameter is required</param>
1127+ public ReloadSearchAnalyzersDescriptor ( Indices index ) : base ( r => r . Required ( "index" , index ) )
1128+ {
1129+ }
1130+
1131+ ///<summary>Used for serialization purposes, making sure we have a parameterless constructor</summary>
1132+ [ SerializationConstructor ]
1133+ protected ReloadSearchAnalyzersDescriptor ( ) : base ( )
1134+ {
1135+ }
1136+
1137+ // values part of the url path
1138+ Indices IReloadSearchAnalyzersRequest . Index => Self . RouteValues . Get < Indices > ( "index" ) ;
1139+ ///<summary>A comma-separated list of index names to reload analyzers for</summary>
1140+ public ReloadSearchAnalyzersDescriptor Index ( Indices index ) => Assign ( index , ( a , v ) => a . RouteValues . Required ( "index" , v ) ) ;
1141+ ///<summary>a shortcut into calling Index(typeof(TOther))</summary>
1142+ public ReloadSearchAnalyzersDescriptor Index < TOther > ( )
1143+ where TOther : class => Assign ( typeof ( TOther ) , ( a , v ) => a . RouteValues . Required ( "index" , ( Indices ) v ) ) ;
1144+ ///<summary>A shortcut into calling Index(Indices.All)</summary>
1145+ public ReloadSearchAnalyzersDescriptor AllIndices ( ) => Index ( Indices . All ) ;
1146+ // Request parameters
1147+ ///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
1148+ public ReloadSearchAnalyzersDescriptor AllowNoIndices ( bool ? allownoindices = true ) => Qs ( "allow_no_indices" , allownoindices ) ;
1149+ ///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
1150+ public ReloadSearchAnalyzersDescriptor ExpandWildcards ( ExpandWildcards ? expandwildcards ) => Qs ( "expand_wildcards" , expandwildcards ) ;
1151+ ///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
1152+ public ReloadSearchAnalyzersDescriptor IgnoreUnavailable ( bool ? ignoreunavailable = true ) => Qs ( "ignore_unavailable" , ignoreunavailable ) ;
1153+ }
1154+
11211155 ///<summary>Descriptor for Rollover <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html</para></summary>
11221156 public partial class RolloverIndexDescriptor : RequestDescriptorBase < RolloverIndexDescriptor , RolloverIndexRequestParameters , IRolloverIndexRequest > , IRolloverIndexRequest
11231157 {
0 commit comments