Ibexa DXP Discussions

Community discussion forum for developers working with Ibexa DXP

Implement aggregation with eztags field

hello guys,

i need to suppport aggregations for eztags in multiples content types, ¿is there any way to make it?..

i’m trying to map the field to solar how documentation show (https://doc.ibexa.co/en/latest/guide/search/solr/#indexing-related-objects):

public function mapFields(Content $content)
{
    // $contentInfo = $this->contentService->loadContent($content->versionInfo->contentInfo->id);
    
    return [
        new Search\Field(
            'custom_acc_tags',
            $content->versionInfo->contentInfo->name,
            new Search\FieldType\FullTextField()
        ),
    ];
}

but i am having an error that i’m trying to solve:

Thanks in advance.