// SYSTEM PANEL //
[ROOT]
/
opt
/
alt
/
tests
/
alt-php83-pecl-solr_2.7.0-1.el8
/
tests
[ PARENT ]
EDIT :: 035.solrdocument_getfieldnames.phpt
--TEST-- SolrDocument::getFieldNames --FILE-- <?php require_once "bootstrap.inc"; $doc = new SolrDocument(); $doc->addField('id', 334455); $doc->addField('manu_id_s', 'apache'); $doc->addField('cat', 'Software'); print_r($doc->getFieldNames()); ?> --EXPECT-- Array ( [0] => id [1] => manu_id_s [2] => cat )
SAVE
CANCEL