https://github.com/webfactory/content-mapping-destinationadapter-solarium
DestinationAdapter for the solarium Solr client inside the webfactory/content-mapping mini framework
https://github.com/webfactory/content-mapping-destinationadapter-solarium
Last synced: 4 months ago
JSON representation
DestinationAdapter for the solarium Solr client inside the webfactory/content-mapping mini framework
- Host: GitHub
- URL: https://github.com/webfactory/content-mapping-destinationadapter-solarium
- Owner: webfactory
- License: mit
- Created: 2015-08-06T15:59:46.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-06-14T21:19:20.000Z (about 3 years ago)
- Last Synced: 2024-04-09T10:53:36.702Z (about 1 year ago)
- Language: PHP
- Size: 14.6 KB
- Stars: 0
- Watchers: 10
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# content-mapping-destinationadapter-solarium #
`DestinationAdapter` for the [webfactory/content-mapping](https://github.com/webfactory/content-mapping)
mini framework. Uses the [Solarium Solr client](https://github.com/solariumphp/solarium) to map content to a Solr backend.## Usage
```php
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](LICENSE).