diff --git a/lib/Core/Search/Solr/Query/Content/CriterionVisitor/UserEnabled.php b/lib/Core/Search/Solr/Query/Common/CriterionVisitor/UserEnabled.php similarity index 88% rename from lib/Core/Search/Solr/Query/Content/CriterionVisitor/UserEnabled.php rename to lib/Core/Search/Solr/Query/Common/CriterionVisitor/UserEnabled.php index 5fd648a9..e9fb15e5 100644 --- a/lib/Core/Search/Solr/Query/Content/CriterionVisitor/UserEnabled.php +++ b/lib/Core/Search/Solr/Query/Common/CriterionVisitor/UserEnabled.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Netgen\IbexaSearchExtra\Core\Search\Solr\Query\Content\CriterionVisitor; +namespace Netgen\IbexaSearchExtra\Core\Search\Solr\Query\Common\CriterionVisitor; use Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion; use Ibexa\Contracts\Solr\Query\CriterionVisitor; diff --git a/lib/Resources/config/search/solr/criterion_visitors.yaml b/lib/Resources/config/search/solr/criterion_visitors.yaml index d1304944..8b577ce0 100644 --- a/lib/Resources/config/search/solr/criterion_visitors.yaml +++ b/lib/Resources/config/search/solr/criterion_visitors.yaml @@ -95,6 +95,7 @@ services: - { name: ibexa.search.solr.query.location.criterion.visitor } netgen.ibexa_search_extra.solr.query.content.criterion_visitor.user_enabled: - class: Netgen\IbexaSearchExtra\Core\Search\Solr\Query\Content\CriterionVisitor\UserEnabled + class: Netgen\IbexaSearchExtra\Core\Search\Solr\Query\Common\CriterionVisitor\UserEnabled tags: - { name: ibexa.search.solr.query.content.criterion.visitor } + - { name: ibexa.search.solr.query.location.criterion.visitor } diff --git a/lib/Resources/config/search/solr/field_mappers.yaml b/lib/Resources/config/search/solr/field_mappers.yaml index 12e36eaa..31bb9029 100644 --- a/lib/Resources/config/search/solr/field_mappers.yaml +++ b/lib/Resources/config/search/solr/field_mappers.yaml @@ -28,7 +28,7 @@ services: tags: - { name: ibexa.search.solr.field.mapper.location } - netgen.ibexa_search_extra.solr.field_mapper.content.user_enabled: + netgen.ibexa_search_extra.solr.field_mapper.common.user_enabled: class: Netgen\IbexaSearchExtra\Core\Search\Solr\FieldMapper\Content\UserEnabledFieldMapper tags: - - { name: ibexa.search.solr.field.mapper.content } + - { name: ibexa.search.solr.field.mapper.block }