--TEST-- SolrClient::optimize() - Testing optimize --SKIPIF-- --FILE-- SOLR_SERVER_HOSTNAME, 'login' => SOLR_SERVER_USERNAME, 'password' => SOLR_SERVER_PASSWORD, 'port' => SOLR_SERVER_PORT, 'path' => SOLR_SERVER_PATH ); $client = new SolrClient($options); $updateResponse = $client->optimize(); print $updateResponse->getRawRequest(); $updateResponse = $client->optimize(4,true,false); print $updateResponse->getRawRequest(); $updateResponse = $client->optimize('5',true,false); print $updateResponse->getRawRequest(); ?> --EXPECTF--