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

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -