webfactory / content-mapping-destinationadapter-solarium
DestinationAdapter for the solarium Solr client inside the webfactory/content-mapping mini framework.
Installs: 10 495
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 10
Forks: 1
Open Issues: 0
Requires
- php: ^7.2|8.0.*|8.1.*|8.2.*|8.3.*
- psr/log: ^1.0|^2.0|^3.0
- solarium/solarium: ^5.0|^6.0
- webfactory/content-mapping: ^3.5
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.