original_string: public function createOptimizeXml($waitFlush = true, $waitSearcher = true)
  	{
  		$searcherValue = $waitSearcher ? 'true' : 'false';
  
  		$rawPost = '<optimize waitSearcher="' . $searcherValue . '" />';
  
  		return $rawPost;
  	}
code: public function createOptimizeXml($waitFlush = true, $waitSearcher = true)
  	{
  		$searcherValue = $waitSearcher ? 'true' : 'false';
  
  		$rawPost = '<optimize waitSearcher="' . $searcherValue . '" />';
  
  		return $rawPost;
  	}
code_tokens: public function createOptimizeXml ( $ waitFlush = true , $ waitSearcher = true ) { $ searcherValue = $ waitSearcher ? 'true' : 'false' ; $ rawPost = '<optimize waitSearcher="' . $ searcherValue . '" />' ; return $ rawPost ; }
docstring: Creates an optimize command XML string.
  
  @param boolean $waitFlush Is ignored.
  @param boolean $waitSearcher
  @param float $timeout Maximum expected duration of the commit operation on the server (otherwise, will throw a communication exception)
  @return string An XML string
docstring_tokens: Creates an optimize command XML string .