public function run()
	{
		$query = $this->buildQuery();

		// Execute the query.
		$rawResults = $this->searcher->getClient()->search($query);

		// Pass response to the class that will do something with it.
		$resultParser = $this->getResultParser();
		$resultParser->setRawResults($rawResults);

		return $resultParser;
	}
public function run()
	{
		$query = $this->buildQuery();

		// Execute the query.
		$rawResults = $this->searcher->getClient()->search($query);

		// Pass response to the class that will do something with it.
		$resultParser = $this->getResultParser();
		$resultParser->setRawResults($rawResults);

		return $resultParser;
	}
public function run ( ) { $ query = $ this -> buildQuery ( ) ; // Execute the query. $ rawResults = $ this -> searcher -> getClient ( ) -> search ( $ query ) ; // Pass response to the class that will do something with it. $ resultParser = $ this -> getResultParser ( ) ; $ resultParser -> setRawResults ( $ rawResults ) ; return $ resultParser ; }
Build and execute the query.

@return AbstractResultParser
Build and execute the query .