#NEWLINE# def _add_node_index( self , node , cb = None ) : #NEWLINE# #INDENT# indexes = node . attributes . get_indexed_public ( ) #NEWLINE# try : #NEWLINE# #INDENT# for index in c : #NEWLINE# #INDENT# self . add_index ( index , node . id ) #NEWLINE# #UNINDENT# #UNINDENT# except : #NEWLINE# #INDENT# _log . debug ( 'Add node index failed' , exc_info = True ) #NEWLINE# pass #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# for c in node . _calvinsys . list_capabilities ( ) : #NEWLINE# #INDENT# self . add_index ( [ 'node' , 'capabilities' , c ] , node . id , root_prefix_level = 3 ) #NEWLINE# #UNINDENT# #UNINDENT# except : #NEWLINE# #INDENT# _log . debug ( 'Add node capabilities failed' , exc_info = True ) #NEWLINE# pass