From 03fcd9e743d3ecb75b2d29b75a88b5383524ce96 Mon Sep 17 00:00:00 2001 From: Jeroen Thora Date: Fri, 11 Sep 2020 15:06:42 +0200 Subject: [PATCH] Kunstmaan/search-bundle: Setup parameter for ES7 support in v5.6 --- .../5.6/config/packages/kunstmaan_search.yaml | 8 ++++++++ kunstmaan/search-bundle/5.6/manifest.json | 11 +++++++++++ 2 files changed, 19 insertions(+) create mode 100644 kunstmaan/search-bundle/5.6/config/packages/kunstmaan_search.yaml create mode 100644 kunstmaan/search-bundle/5.6/manifest.json diff --git a/kunstmaan/search-bundle/5.6/config/packages/kunstmaan_search.yaml b/kunstmaan/search-bundle/5.6/config/packages/kunstmaan_search.yaml new file mode 100644 index 00000000..199760f8 --- /dev/null +++ b/kunstmaan/search-bundle/5.6/config/packages/kunstmaan_search.yaml @@ -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 diff --git a/kunstmaan/search-bundle/5.6/manifest.json b/kunstmaan/search-bundle/5.6/manifest.json new file mode 100644 index 00000000..31bf96d0 --- /dev/null +++ b/kunstmaan/search-bundle/5.6/manifest.json @@ -0,0 +1,11 @@ +{ + "bundles": { + "Kunstmaan\\SearchBundle\\KunstmaanSearchBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "container": { + "kunstmaan_search.elasticsearch_version": "7" + } +}