Kunstmaan/search-bundle: Setup parameter for ES7 support in v5.6

This commit is contained in:
Jeroen Thora
2020-09-11 15:16:20 +02:00
parent e5f218ebde
commit 03fcd9e743
2 changed files with 19 additions and 0 deletions
@@ -0,0 +1,8 @@
# Default we set the used elasticsearch version to 7 in the "kunstmaan_search.elasticsearch_version" parameter.
# If you want to use Elasticsearch 6, change the value of the "kunstmaan_search.elasticsearch_version" parameter to "6" and run "composer req ruflin/elastica ^6.0"
kunstmaan_search:
connection:
driver: elastic_search
host: localhost
port: 9200
index_prefix: myproject # TODO: Change this prefix to you liking. Maybe the name of your project
+11
View File
@@ -0,0 +1,11 @@
{
"bundles": {
"Kunstmaan\\SearchBundle\\KunstmaanSearchBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"container": {
"kunstmaan_search.elasticsearch_version": "7"
}
}