original_docstring: 
          Register the search definitions for all events.
  
          @param root_key: events.yaml root key
          
docstring: Register the search definitions for all events.
docstring_tokens: Register the search definitions for all events .
code: def register_search_terms(self):
          """
          Register the search definitions for all events.
  
          @param root_key: events.yaml root key
          """
          for defs in self.event_definitions.values():
              for label in defs:
                  event = defs[label]
                  for sd in event["searchdefs"]:
                      self.searchobj.add_search_term(sd, event["datasource"])
code_tokens: def register_search_terms ( self ) : for defs in self . event_definitions . values ( ) : for label in defs : event = defs [ label ] for sd in event [ "searchdefs" ] : self . searchobj . add_search_term ( sd , event [ "datasource" ] )
short_docstring: Register the search definitions for all events.
short_docstring_tokens: Register the search definitions for all events .
comment: """
          Register the search definitions for all events.
  
          @param root_key: events.yaml root key
          """