#NEWLINE# @ query_params ( 'allow_no_indices' , 'expand_wildcards' , 'ignore_unavailable' , 'master_timeout' , 'timeout' ) #NEWLINE# def open( self , index , params = None ) : #NEWLINE# #INDENT# "\n        Open a closed index to make it available for search.\n        `<http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-open-close.html>`_\n\n        :arg index: The name of the index\n        :arg allow_no_indices: Whether to ignore if a wildcard indices\n            expression resolves into no concrete indices. (This includes `_all`\n            string or when no indices have been specified)\n        :arg expand_wildcards: Whether to expand wildcard expression to concrete\n            indices that are open, closed or both., default 'closed', valid\n            choices are: 'open', 'closed', 'none', 'all'\n        :arg ignore_unavailable: Whether specified concrete indices should be\n            ignored when unavailable (missing or closed)\n        :arg master_timeout: Specify timeout for connection to master\n        :arg timeout: Explicit operation timeout\n        " #NEWLINE# if ( params in SKIP_IN_PATH ) : #NEWLINE# #INDENT# raise ValueError ( "Empty value passed for a required argument 'index'." ) #NEWLINE# #UNINDENT# return self . transport . perform_request ( 'POST' , _make_path ( index , '_open' ) , params = params )