Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 862 Bytes

File metadata and controls

25 lines (16 loc) · 862 Bytes

content-mapping-destinationadapter-solarium

DestinationAdapter for the webfactory/content-mapping mini framework. Uses the Solarium Solr client to map content to a Solr backend.

Usage

use Solarium\Client;
use Webfactory\ContentMapping\Synchronizer;
use Webfactory\ContentMapping\Solr\SolariumDestinationAdapter;

$solrClient = new Client($configArray); // see Solarium documentation for details

$synchronizer = new Synchronizer($sourceAdapter, $mapper, new SolariumDestinationAdapter($solrClient));

Credits, Copyright and License

This project was started at webfactory GmbH, Bonn.

Copyright 2015-2019 webfactory GmbH, Bonn. Code released under the MIT license.