public function index($dataObject, $stage=null, $fieldBoost = array()) {

		$document = $this->convertObjectToDocument($dataObject, $stage, $fieldBoost);

		if ($document) {
			try {
				$this->getSolr()->addDocument($document);
				$this->getSolr()->commit();
				
				// optimize every so often
				if (mt_rand(0, 100) == 42) {
					$this->getSolr()->optimize();
				}
			} catch (Exception $ie) {
				SS_Log::log($ie, SS_Log::ERR);
			}
		}
	}