diff --git a/lib/Core/Search/Solr/FieldMapper/ParentChildFieldMapper.php b/lib/Core/Search/Solr/FieldMapper/ParentChildFieldMapper.php index 209747e4..c6cd7f62 100644 --- a/lib/Core/Search/Solr/FieldMapper/ParentChildFieldMapper.php +++ b/lib/Core/Search/Solr/FieldMapper/ParentChildFieldMapper.php @@ -35,12 +35,12 @@ final class ParentChildFieldMapper extends ContentTranslationFieldMapper * @param array $configuration */ public function __construct( - private readonly array $configuration, private readonly FullTextFieldResolver $fullTextFieldResolver, private readonly ContentTypeHandler $contentTypeHandler, private readonly ContentHandler $contentHandler, private readonly Handler $contentFilteringHandler, private readonly LocationHandler $locationHandler, + private readonly array $configuration, private readonly int $childrenLimit = 99, ) {} diff --git a/lib/Resources/config/search/common/parent_child_indexing/common.yaml b/lib/Resources/config/search/common/parent_child_indexing/common.yaml index 3cc23061..75642cd1 100644 --- a/lib/Resources/config/search/common/parent_child_indexing/common.yaml +++ b/lib/Resources/config/search/common/parent_child_indexing/common.yaml @@ -2,12 +2,12 @@ services: netgen_search_extra.parent_child_indexing.parent_child_field_mapper: class: Netgen\IbexaSearchExtra\Core\Search\Solr\FieldMapper\ParentChildFieldMapper arguments: - - '%netgen.ibexa_search_extra.parent_child_indexer%' - '@netgen_search_extra.parent_child_indexing.fulltext_field_resolver' - '@Ibexa\Contracts\Core\Persistence\Content\Type\Handler' - '@Ibexa\Contracts\Core\Persistence\Content\Handler' - '@Ibexa\Contracts\Core\Persistence\Filter\Content\Handler' - '@Ibexa\Contracts\Core\Persistence\Content\Location\Handler' + - '%netgen.ibexa_search_extra.parent_child_indexer%' tags: - { name: ibexa.search.solr.field.mapper.content.translation }