How to use PHP Solr Client to insert value as string?

     

Here is my code to insert value into Solr database:


$doc = new SolrInputDocument();  $doc->addField('message' 'This is a testing line');  $updateResponse = $this->client->addDocument($doc);  $this->client->commit();  

I am inserting a string but when I look at the Solr database through the default http://localhost:8983/ webpage