webfactory/content-mapping-destinationadapter-solarium

DestinationAdapter for the solarium Solr client inside the webfactory/content-mapping mini framework.

1.4.0 2019-04-12 09:59 UTC

This package is auto-updated.

Last update: 2019-11-19 14:35:08 UTC


README

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.