lp-digital / solr-bundle
Apache Solr for BackBee v1.* instance
Installs: 135
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 0
Type:backbee-bundle
Requires
- php: >=5.6
- backbee/backbee-php: ~1.3.4
- backbee/toolbar-bundle: ~1.3.0
- guzzlehttp/guzzle: ^6.2
- solarium/solarium: ^3.8
- symfony/css-selector: ^3.2
- symfony/dom-crawler: ^3.2
Requires (Dev)
- codeclimate/php-test-reporter: ^0.4.4
- mikey179/vfsstream: ~1.4.0
- mmoreram/php-formatter: ^1.1
- phpunit/phpunit: ^5.6.0
- symfony/var-dumper: ^3.2
README
solr-bundle enables to easily implement Apache Solr on BackBee instances.
Installation
Edit the file composer.json
of your BackBee project.
Add the new dependency to the bundle in the require
section:
# composer.json ... "require": { ... "lp-digital/solr-bundle": "~0.1" }, ...
Save and close the file.
Run a composer update on your project.
Activation
Edit the file repository/Config/bundles.yml
of your BackBee project.
Add the following line at the end of the file:
# bundles configuration - repository/Config/bundles.yml ... solr: LpDigital\Bundle\SolrBundle\Solr
Save and close the file.
Then launch the command to update database:
./backbee bundle:update solr --force
Depending on your configuration, cache may need to be clear.
Crawl
To crawl your site, you must launch the command with parameter site label:
./backbee crawler:website --site mylabel
This project is supported by Lp digital
Lead Developer : @djoudi-b
Released under the GPL3 License