php - Where to put/find schema.xml and other config files in solarium using Yii2? -
php - Where to put/find schema.xml and other config files in solarium using Yii2? -
i'm trying utilize solr through solarium under yii 2 framework, after googling many hours still don't know config files.
i have solarium folder under vendor,
--- vendor --- solarium --- solarium --- examples --- library --- phar --- tests ...
but don't know how add together config files, , if need create multiple indexes/cores.
thanks
try using yii2-solr package. website, need add together these configurations @app/config/main.php
file.
'components' => [ ... 'solr' => [ 'class' => 'sammaye\solr\client', 'options' => [ 'endpoint' => [ 'solr1' => [ 'host' => '10.208.225.66', 'port' => '8983', 'path' => '/solr' ] ] ] ], ... ]
php solr yii2 solarium
Comments
Post a Comment