#NEWLINE# def run_request( self , id = None ) : #NEWLINE# #INDENT# if ( id is None ) : #NEWLINE# #INDENT# self . show_input_panel ( 'Document Id (option): ' , '' , id . run ) #NEWLINE# return #NEWLINE# #UNINDENT# options = dict ( index = self . settings . index , doc_type = self . settings . doc_type , body = self . get_text ( ) , id = id ) #NEWLINE# return self . client . index ( ** options )