search/plugins/ezsolr/ezsolr.php
function optimize( $withCommit = false )
    {

        if ( $this->UseMultiLanguageCores === true )
        {
            foreach ( $this->SolrLanguageShards as $shard )
            {
                $shard->optimize( $withCommit );
            }
        }
        else
        {
            $this->Solr->optimize( $withCommit );
        }
    }
function optimize( $withCommit = false )
    {

        if ( $this->UseMultiLanguageCores === true )
        {
            foreach ( $this->SolrLanguageShards as $shard )
            {
                $shard->optimize( $withCommit );
            }
        }
        else
        {
            $this->Solr->optimize( $withCommit );
        }
    }
function optimize ( $ withCommit = false ) { if ( $ this -> UseMultiLanguageCores === true ) { foreach ( $ this -> SolrLanguageShards as $ shard ) { $ shard -> optimize ( $ withCommit ) ; } } else { $ this -> Solr -> optimize ( $ withCommit ) ; } }
Performs a solr OPTIMIZE call
Performs a solr OPTIMIZE call