mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
fix recipe for nelmio/solarium-bundle ^5.0 (#1568)
This commit is contained in:
@@ -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
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"bundles": {
|
||||||
|
"Nelmio\\SolariumBundle\\NelmioSolariumBundle": ["all"]
|
||||||
|
},
|
||||||
|
"copy-from-recipe": {
|
||||||
|
"config/": "%CONFIG_DIR%/"
|
||||||
|
},
|
||||||
|
"env": {
|
||||||
|
"SOLR_HOST": "localhost",
|
||||||
|
"SOLR_CORE": "example"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user