#NEWLINE# def search_index_path( self , index = None , **options ) : #NEWLINE# #INDENT# '\n        Builds a Yokozuna search index URL.\n\n        :param index: optional name of a yz index\n        :type index: string\n        :param options: optional list of additional arguments\n        :type index: dict\n        :rtype URL string\n        ' #NEWLINE# if ( not self . yz_wm_index ) : #NEWLINE# #INDENT# raise RiakError ( 'Yokozuna search is unsupported by this Riak node' ) #NEWLINE# #UNINDENT# if index : #NEWLINE# #INDENT# quote_plus ( index ) #NEWLINE# #UNINDENT# return mkpath ( index . yz_wm_index , 'index' , index , ** options )