From 22d61fa9231bf90cb3ab16bbad205c466f073fca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Katarina=20Mio=C4=8Di=C4=87?= Date: Mon, 22 Apr 2024 11:55:03 +0200 Subject: [PATCH] NGSTACK-843 fix typo --- lib/Container/Compiler/LayoutsPageIndexingPass.php | 2 +- .../search/common/layouts_page_text_indexing.yaml | 12 ++++++------ .../search/elastic_search/document_factory.yaml | 2 +- tests/lib/Integration/Resources/config/services.yaml | 4 +++- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/lib/Container/Compiler/LayoutsPageIndexingPass.php b/lib/Container/Compiler/LayoutsPageIndexingPass.php index 9e53835b..66c6cc1b 100644 --- a/lib/Container/Compiler/LayoutsPageIndexingPass.php +++ b/lib/Container/Compiler/LayoutsPageIndexingPass.php @@ -54,7 +54,7 @@ public function process(ContainerBuilder $container) ->register(ContentPageTextFieldMapper::class, ContentPageTextFieldMapper::class) ->setArguments([ new Reference('netgen.ibexa_search_extra.page_indexing.page_text_extractor'), - '%netgen.ibexa_search_extra.page_indexing.allowed_content_types%', + '%netgen_ibexa_search_extra.page_indexing.allowed_content_types%', ]) ->addTag('ibexa.search.solr.field.mapper.content.translation'); } diff --git a/lib/Resources/config/search/common/layouts_page_text_indexing.yaml b/lib/Resources/config/search/common/layouts_page_text_indexing.yaml index b0d51614..2ba87d5f 100644 --- a/lib/Resources/config/search/common/layouts_page_text_indexing.yaml +++ b/lib/Resources/config/search/common/layouts_page_text_indexing.yaml @@ -20,11 +20,11 @@ services: - '@Ibexa\Contracts\Core\Repository\ContentService' - '@ibexa.spi.search' - '@ibexa.api.persistence_handler' - - '%netgen.ibexa_search_extra.page_indexing.allowed_content_types%' + - '%netgen_ibexa_search_extra.page_indexing.allowed_content_types%' #parameters: -# netgen.ibexa_search_extra.page_indexing.site_roots: [] -# netgen.ibexa_search_extra.page_indexing.languages_siteaccess_map: [] -# netgen.ibexa_search_extra.page_indexing.host: null -# netgen.ibexa_search_extra.page_indexing.config: [] -# netgen.ibexa_search_extra.page_indexing.allowed_content_types: [] \ No newline at end of file +# netgen_ibexa_search_extra.page_indexing.site_roots: [] +# netgen_ibexa_search_extra.page_indexing.languages_siteaccess_map: [] +# netgen_ibexa_search_extra.page_indexing.host: null +# netgen_ibexa_search_extra.page_indexing.config: [] +# netgen_ibexa_search_extra.page_indexing.allowed_content_types: [] \ No newline at end of file diff --git a/lib/Resources/config/search/elastic_search/document_factory.yaml b/lib/Resources/config/search/elastic_search/document_factory.yaml index 733d9b5b..f61f54fd 100644 --- a/lib/Resources/config/search/elastic_search/document_factory.yaml +++ b/lib/Resources/config/search/elastic_search/document_factory.yaml @@ -11,7 +11,7 @@ services: arguments: - '@netgen.ibexa_search_extra.page_indexing.page_text_extractor' - '@Ibexa\Contracts\Core\Persistence\Content\Type\Handler' - - '%netgen.ibexa_search_extra.page_indexing.allowed_content_types%' + - '%netgen_ibexa_search_extra.page_indexing.allowed_content_types%' tags: - { name: netgen.ibexa_search_extra.elasticsearch.field_mapper.block_translation } diff --git a/tests/lib/Integration/Resources/config/services.yaml b/tests/lib/Integration/Resources/config/services.yaml index a8c39b9d..06f4c7bf 100644 --- a/tests/lib/Integration/Resources/config/services.yaml +++ b/tests/lib/Integration/Resources/config/services.yaml @@ -92,7 +92,9 @@ services: parameters: netgen_ibexa_search_extra.page_indexing.site_roots: [] - netgen_ibexa_search_extra.page_indexing.language_siteaccess_map: [] + netgen_ibexa_search_extra.page_indexing.languages_siteaccess_map: [] netgen_ibexa_search_extra.page_indexing.host: null netgen_ibexa_search_extra.page_indexing.config: [] + netgen_ibexa_search_extra.page_indexing: + allowed_content_types: