code: public function search($term, $params = [])
      {
          if (!$this->primaryModel) {
              return false;
          }
  
          $results = [];
          $modelClass = $this->primaryModel;
  
          return $modelClass::searchTerm($term, $params);
      }
docs: [[@doctodo method_description:search]].
  
  @param unknown $term
  @param array   $params [[@doctodo param_description:params]] [optional]
  
  @return unknown