webfactory/content-mapping-destinationadapter-solarium

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

1.8.1 2024-09-04 15:32 UTC

This package is auto-updated.

Last update: 2024-12-04 15:58:55 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.