#NEWLINE# def rebuild( self ) : #NEWLINE# #INDENT# method_map = dict ( vertex = self . client . rebuild_vertex_index , edge = self . client . rebuild_edge_index ) #NEWLINE# rebuild_method = method_map . get ( self . index_class ) #NEWLINE# resp = rebuild_method ( self . index_name ) #NEWLINE# return list ( self . results )