/**
  * Close dictionary
  */
 public function closeDictionaryFiles()
 {
     $this->_tisFile->seek(4);
     $this->_tisFile->writeLong($this->_termCount);
     $this->_tiiFile->seek(4);
     // + 1 is used to count an additional special index entry (empty term at the start of the list)
     $this->_tiiFile->writeLong(($this->_termCount - $this->_termCount % self::$indexInterval) / self::$indexInterval + 1);
 }