コード例 #1
0
 /** @brief Send query to AFS search engine.
  * @param $query [in] @a AfsQuery object to use in order to generate
  *        appropriate AFS query.
  * @return reply of AFS search engine.
  */
 public function send(AfsQuery $query)
 {
     $query->initialize_user_and_session_id($this->config->get_user_session_manager());
     $params = $this->convert_to_param($query);
     $this->add_facet_options($query, $params);
     return $this->connector->send($params);
 }