PHPverse 2025

Voting

: nine minus five?
(Example: nine)

The Note You're Voting On

edwardtam at et-it dot net
9 years ago
you can use 'path' to specify the 'core'.

<?php
$core
= 'dictionary';

$solr_server = array
(
'hostname' => 'localhost',
'port' => '8983',
'path' => 'solr/' . $core,
);
$solr_client = new SolrClient($solr_server);
?>

<< Back to user notes page

To Top