@@ -102,8 +102,8 @@ def create(self, index, body=None, params=None):
102
102
params = params , body = body )
103
103
return data
104
104
105
- @query_params ('allow_no_indices' , 'expand_wildcards' , 'ignore_unavailable ' ,
106
- 'local' )
105
+ @query_params ('allow_no_indices' , 'expand_wildcards' , 'flat_settings ' ,
106
+ 'human' , 'ignore_unavailable' , ' local' )
107
107
def get (self , index , feature = None , params = None ):
108
108
"""
109
109
The get index API allows to retrieve information about one or more indexes.
@@ -115,6 +115,9 @@ def get(self, index, feature=None, params=None):
115
115
concrete indices (default: false)
116
116
:arg expand_wildcards: Whether wildcard expressions should get expanded
117
117
to open or closed indices (default: open)
118
+ :arg flat_settings: Return settings in flat format (default: false)
119
+ :arg human: Whether to return version and creation date values in human-
120
+ readable format., default False
118
121
:arg ignore_unavailable: Ignore unavailable indexes (default: false)
119
122
:arg local: Return local information, do not retrieve the state from
120
123
master node (default: false)
@@ -556,7 +559,7 @@ def delete_template(self, name, params=None):
556
559
return data
557
560
558
561
@query_params ('expand_wildcards' , 'ignore_indices' , 'ignore_unavailable' ,
559
- 'flat_settings' , 'local' )
562
+ 'flat_settings' , 'local' , 'human' )
560
563
def get_settings (self , index = None , name = None , params = None ):
561
564
"""
562
565
Retrieve settings for one or more (or all) indices.
@@ -572,6 +575,8 @@ def get_settings(self, index=None, name=None, params=None):
572
575
:arg ignore_unavailable: Whether specified concrete indices should be ignored
573
576
when unavailable (missing or closed)
574
577
:arg flat_settings: Return settings in flat format (default: false)
578
+ :arg human: Whether to return version and creation date values in human-
579
+ readable format., default False
575
580
:arg local: Return local information, do not retrieve the state from
576
581
master node (default: false)
577
582
"""
0 commit comments