diff --git a/nelmio/solarium-bundle/2.4/config/packages/nelmio_solarium.yaml b/nelmio/solarium-bundle/2.4/config/packages/nelmio_solarium.yaml new file mode 100644 index 00000000..19af2a5b --- /dev/null +++ b/nelmio/solarium-bundle/2.4/config/packages/nelmio_solarium.yaml @@ -0,0 +1,13 @@ +nelmio_solarium: + endpoints: + default: + host: "%env(SOLR_HOST)%" + core: "%env(SOLR_CORE)%" + # The following are the default parameters for Solarium client: + # scheme: http + # port: 8983 + # path: /solr + # timeout: 5 + clients: + default: + endpoints: [default] diff --git a/nelmio/solarium-bundle/2.4/manifest.json b/nelmio/solarium-bundle/2.4/manifest.json new file mode 100644 index 00000000..0455eeea --- /dev/null +++ b/nelmio/solarium-bundle/2.4/manifest.json @@ -0,0 +1,12 @@ +{ + "bundles": { + "Nelmio\\SolariumBundle\\NelmioSolariumBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "SOLR_HOST": "localhost", + "SOLR_CORE": "example" + } +}