lp-digital/solr-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

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

v0.5 2017-11-28 11:46 UTC

This package is auto-updated.

Last update: 2021-04-27 09:26:50 UTC


README

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