Can Any one help out to set UTF-8 encoding in solr-php client.The out put in solr After adding document is As below-
"info_type": "news",
"title": "???????? ??????? ?? ?????? ????? ???? ?? 106 ???? ?? ???? ??? ????"
The above Question marks were hindi content stored in UTF-8 format.
Below is the Request Parameter for adding document in Solr by PHP Client
$options = array
(
'hostname' => 'HOST_NAME',
'login' => 'USER',
'password' => 'PASS',
'port' => 'PORT_NUMBER',
'path' => 'SOLR_NAME/CORE_NAME');
$client = new SolrClient($options);
$doc = new SolrInputDocument();
$updateResponse = $client->addDocument($doc);
$client->commit();