From 98885b79a5e4cb9cbfdee3db69945c6772fbd0ae Mon Sep 17 00:00:00 2001 From: woell Date: Wed, 15 Jan 2025 10:54:53 +0100 Subject: [PATCH] Fix issue #271 | Cannot set mappings for custom fields (#272) --- .../IndexService/IndexHandler/DocumentIndexHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Service/SearchIndex/IndexService/IndexHandler/DocumentIndexHandler.php b/src/Service/SearchIndex/IndexService/IndexHandler/DocumentIndexHandler.php index a1b1e494..11cb0bf6 100644 --- a/src/Service/SearchIndex/IndexService/IndexHandler/DocumentIndexHandler.php +++ b/src/Service/SearchIndex/IndexService/IndexHandler/DocumentIndexHandler.php @@ -18,7 +18,7 @@ use Pimcore\Bundle\GenericDataIndexBundle\Enum\SearchIndex\FieldCategory; use Pimcore\Bundle\GenericDataIndexBundle\Enum\SearchIndex\FieldCategory\StandardField\Document\DocumentStandardField; -use Pimcore\Bundle\GenericDataIndexBundle\Event\Asset\ExtractMappingEvent; +use Pimcore\Bundle\GenericDataIndexBundle\Event\Document\ExtractMappingEvent; use Pimcore\Bundle\GenericDataIndexBundle\SearchIndexAdapter\IndexMappingServiceInterface; use Pimcore\Bundle\GenericDataIndexBundle\SearchIndexAdapter\SearchIndexServiceInterface; use Pimcore\Bundle\GenericDataIndexBundle\Service\SearchIndex\GlobalIndexAliasServiceInterface;