original_string: public function getMaxMergeDocs()
      {
          if (count($this->_indices) == 0) {
              include_once 'Zend/Search/Lucene/Exception.php';
              throw new Zend_Search_Lucene_Exception('Indices list is empty');
          }
  
          $maxMergeDocs = reset($this->_indices)->getMaxMergeDocs();
  
          foreach ($this->_indices as $index) {
              if ($index->getMaxMergeDocs() !== $maxMergeDocs) {
                  include_once 'Zend/Search/Lucene/Exception.php';
                  throw new Zend_Search_Lucene_Exception('Indices have different default search field.');
              }
          }
  
          return $maxMergeDocs;
      }
code: public function getMaxMergeDocs()
      {
          if (count($this->_indices) == 0) {
              include_once 'Zend/Search/Lucene/Exception.php';
              throw new Zend_Search_Lucene_Exception('Indices list is empty');
          }
  
          $maxMergeDocs = reset($this->_indices)->getMaxMergeDocs();
  
          foreach ($this->_indices as $index) {
              if ($index->getMaxMergeDocs() !== $maxMergeDocs) {
                  include_once 'Zend/Search/Lucene/Exception.php';
                  throw new Zend_Search_Lucene_Exception('Indices have different default search field.');
              }
          }
  
          return $maxMergeDocs;
      }
code_tokens: public function getMaxMergeDocs ( ) { if ( count ( $ this -> _indices ) == 0 ) { include_once 'Zend/Search/Lucene/Exception.php' ; throw new Zend_Search_Lucene_Exception ( 'Indices list is empty' ) ; } $ maxMergeDocs = reset ( $ this -> _indices ) -> getMaxMergeDocs ( ) ; foreach ( $ this -> _indices as $ index ) { if ( $ index -> getMaxMergeDocs ( ) !== $ maxMergeDocs ) { include_once 'Zend/Search/Lucene/Exception.php' ; throw new Zend_Search_Lucene_Exception ( 'Indices have different default search field.' ) ; } } return $ maxMergeDocs ; }
docstring: Retrieve index maxMergeDocs option
  
  maxMergeDocs is a largest number of documents ever merged by addDocument().
  Small values (e.g., less than 10,000) are best for interactive indexing,
  as this limits the length of pauses while indexing to a few seconds.
  Larger values are best for batched indexing and speedier searches.
  
  Default value is PHP_INT_MAX
  
  @return integer
  @throws Zend_Search_Lucene_Exception
docstring_tokens: Retrieve index maxMergeDocs option