관리-도구
편집 파일: 182.solrdocumentfield_unset_property.phpt
--TEST-- SolrDocumentField - exception - on unset property --FILE-- <?php require_once "bootstrap.inc"; $field = new SolrDocumentField(); try { unset($field->name); } catch (SolrIllegalOperationException $e) { printf("Exception %d: %s", $e->getCode(), $e->getMessage()); } ?> --EXPECT-- Exception 1007: SolrDocumentField instances are read-only. Properties cannot be updated or removed.