webfactory/content-mapping-destinationadapter-solarium

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

1.8.0 2024-04-15 08:27 UTC

This package is auto-updated.

Last update: 2024-04-15 08:27:17 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.