Skip to content

Commit

Permalink
fix recipe for nelmio/solarium-bundle ^5.0 (#1568)
Browse files Browse the repository at this point in the history
dmaicher authored Jan 1, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 209c667 commit c439704
Showing 2 changed files with 26 additions and 0 deletions.
14 changes: 14 additions & 0 deletions nelmio/solarium-bundle/5.0/config/packages/nelmio_solarium.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
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
clients:
default:
endpoints: [default]
# You can customize the http timeout (in seconds) here. The default is 5sec.
# adapter_timeout: 5
12 changes: 12 additions & 0 deletions nelmio/solarium-bundle/5.0/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"bundles": {
"Nelmio\\SolariumBundle\\NelmioSolariumBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"SOLR_HOST": "localhost",
"SOLR_CORE": "example"
}
}

0 comments on commit c439704

Please sign in to comment.