From bed3b44cbb239309496dc8f9478d513cfd27e3c3 Mon Sep 17 00:00:00 2001 From: ToshY <31921460+ToshY@users.noreply.github.com> Date: Sat, 16 Dec 2023 16:18:14 +0000 Subject: [PATCH] Add schranz-search/symfony-bundle config --- .../0.2/config/packages/schranz_search.yaml | 13 +++++++++++++ .../0.2/config/schemas/.gitignore | 0 .../symfony-bundle/0.2/manifest.json | 19 +++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 schranz-search/symfony-bundle/0.2/config/packages/schranz_search.yaml create mode 100644 schranz-search/symfony-bundle/0.2/config/schemas/.gitignore create mode 100644 schranz-search/symfony-bundle/0.2/manifest.json diff --git a/schranz-search/symfony-bundle/0.2/config/packages/schranz_search.yaml b/schranz-search/symfony-bundle/0.2/config/packages/schranz_search.yaml new file mode 100644 index 000000000..c25a7a67c --- /dev/null +++ b/schranz-search/symfony-bundle/0.2/config/packages/schranz_search.yaml @@ -0,0 +1,13 @@ +schranz_search: + schemas: + default: + dir: '%kernel.project_dir%/config/schemas' + engines: + default: + adapter: '%env(SEAL_DSN)%' +when@test: + schranz_search: + engines: + default: + adapter: 'memory://' + index_name_prefix: test_ diff --git a/schranz-search/symfony-bundle/0.2/config/schemas/.gitignore b/schranz-search/symfony-bundle/0.2/config/schemas/.gitignore new file mode 100644 index 000000000..e69de29bb diff --git a/schranz-search/symfony-bundle/0.2/manifest.json b/schranz-search/symfony-bundle/0.2/manifest.json new file mode 100644 index 000000000..f8165142e --- /dev/null +++ b/schranz-search/symfony-bundle/0.2/manifest.json @@ -0,0 +1,19 @@ +{ + "bundles": { + "Schranz\\Search\\Integration\\Symfony\\SearchBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "#1": "Install one of the following adapters: https://schranz-search.github.io/schranz-search/getting-started/index.html", + "#2": "SEAL_DSN=\"meilisearch://127.0.0.1:7700\"", + "#3": "SEAL_DSN=\"algolia://ALGOLIA_APPLICATION_ID:ALGOLIA_ADMIN_API_KEY\"", + "#4": "SEAL_DSN=\"elasticsearch://127.0.0.1:9200\"", + "#5": "SEAL_DSN=\"opensearch://127.0.0.1:9200\"", + "#6": "SEAL_DSN=\"redisearch://127.0.0.1:6379\"", + "#7": "SEAL_DSN=\"solr://127.0.0.1:8983\"", + "#8": "SEAL_DSN=\"typesense://S3CR3T@127.0.0.1:8108\"", + "SEAL_DSN": "loupe://var/indexes" + } +}