code: public function search($query, array $options = array()) {
          $start = microtime(true);
          $result = $this->transport->search($query, $options);
          $result['time'] = microtime(true) - $start;
          return $result;
      }
docs: Perform search, this is the sweet spot
  
  @return array
  @param $query
  @param array $options