Skip to content

Commit 331861b

Browse files
committed
IBX-10764: Used SEARCH_ENGINE env variable in search engine configuration
1 parent 6f82088 commit 331861b

File tree

4 files changed

+4
-16
lines changed

4 files changed

+4
-16
lines changed

ibexa/commerce/5.0/config/packages/ibexa.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ parameters:
44
# You can uncomment following parameters to override the setting.
55
# Their values correspond to the defaults being used.
66

7-
# One of `legacy` (default) or `solr`
8-
#search_engine: '%env(SEARCH_ENGINE)%'
9-
107
# Session save path as used by symfony session handlers (eg. used for dsn with redis)
118
#ibexa.session.save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%'
129

@@ -60,7 +57,7 @@ ibexa:
6057
default:
6158
storage: ~
6259
search:
63-
engine: '%search_engine%'
60+
engine: "%env(string:SEARCH_ENGINE)%"
6461
connection: default
6562
product_catalog:
6663
engine: default

ibexa/experience/5.0/config/packages/ibexa.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ parameters:
44
# You can uncomment following parameters to override the setting.
55
# Their values correspond to the defaults being used.
66

7-
# One of `legacy` (default) or `solr`
8-
#search_engine: '%env(SEARCH_ENGINE)%'
9-
107
# Session save path as used by symfony session handlers (eg. used for dsn with redis)
118
#ibexa.session.save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%'
129

@@ -60,7 +57,7 @@ ibexa:
6057
default:
6158
storage: ~
6259
search:
63-
engine: '%search_engine%'
60+
engine: "%env(string:SEARCH_ENGINE)%"
6461
connection: default
6562
product_catalog:
6663
engine: default

ibexa/headless/5.0/config/packages/ibexa.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ parameters:
44
# You can uncomment following parameters to override the setting.
55
# Their values correspond to the defaults being used.
66

7-
# One of `legacy` (default) or `solr`
8-
#search_engine: '%env(SEARCH_ENGINE)%'
9-
107
# Session save path as used by symfony session handlers (eg. used for dsn with redis)
118
#ibexa.session.save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%'
129

@@ -49,7 +46,7 @@ ibexa:
4946
default:
5047
storage: ~
5148
search:
52-
engine: '%search_engine%'
49+
engine: "%env(string:SEARCH_ENGINE)%"
5350
connection: default
5451
product_catalog:
5552
engine: default

ibexa/oss/5.0/config/packages/ibexa.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ parameters:
44
# You can uncomment following parameters to override the setting.
55
# Their values correspond to the defaults being used.
66

7-
# One of `legacy` (default) or `solr`
8-
#search_engine: '%env(SEARCH_ENGINE)%'
9-
107
# Session save path as used by symfony session handlers (eg. used for dsn with redis)
118
#ibexa.session.save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%'
129

@@ -49,7 +46,7 @@ ibexa:
4946
default:
5047
storage: ~
5148
search:
52-
engine: '%search_engine%'
49+
engine: "%env(string:SEARCH_ENGINE)%"
5350
connection: default
5451

5552
# Siteaccess configuration, with one siteaccess per default

0 commit comments

Comments
 (0)