original_string: public function setFormatVersion($formatVersion)
      {
          if ($formatVersion != self::FORMAT_PRE_2_1  
              && $formatVersion != self::FORMAT_2_1  
              && $formatVersion != self::FORMAT_2_3
          ) {
              include_once 'Zend/Search/Lucene/Exception.php';
              throw new Zend_Search_Lucene_Exception('Unsupported index format');
          }
  
          $this->_formatVersion = $formatVersion;
      }
code: public function setFormatVersion($formatVersion)
      {
          if ($formatVersion != self::FORMAT_PRE_2_1  
              && $formatVersion != self::FORMAT_2_1  
              && $formatVersion != self::FORMAT_2_3
          ) {
              include_once 'Zend/Search/Lucene/Exception.php';
              throw new Zend_Search_Lucene_Exception('Unsupported index format');
          }
  
          $this->_formatVersion = $formatVersion;
      }
code_tokens: public function setFormatVersion ( $ formatVersion ) { if ( $ formatVersion != self :: FORMAT_PRE_2_1 && $ formatVersion != self :: FORMAT_2_1 && $ formatVersion != self :: FORMAT_2_3 ) { include_once 'Zend/Search/Lucene/Exception.php' ; throw new Zend_Search_Lucene_Exception ( 'Unsupported index format' ) ; } $ this -> _formatVersion = $ formatVersion ; }
docstring: Set index format version.
  Index is converted to this format at the nearest upfdate time
  
  @param  int $formatVersion
  @throws Zend_Search_Lucene_Exception
docstring_tokens: Set index format version . Index is converted to this format at the nearest upfdate time