1<?php
2
3include "bootstrap.php";
4
5$options = array
6(
7    'hostname' => SOLR_SERVER_HOSTNAME,
8    'login'    => SOLR_SERVER_USERNAME,
9    'password' => SOLR_SERVER_PASSWORD,
10    'port'     => SOLR_SERVER_PORT,
11	'path'	   => SOLR_SERVER_PATH
12);
13
14$client = new SolrClient($options);
15$response = $client->getByIds(['GB18030TEST', '6H500F0']);
16
17print_r($response->getResponse());
18