lp-digital/solr-bundle

Apache Solr for BackBee v1.* instance


Keywords
solr, bundle, lucene, BackBee
License
GPL-3.0+

Documentation

solr-bundle

Build Status Code Climate Test Coverage

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