Closed mattamon closed 2 months ago
The SearchProviderInterface returns a https://github.com/pimcore/generic-data-index-bundle/blob/1.x/src/Model/Search/Interfaces/SearchInterface.php.
The interfaces does not contain the necessary setClassDefinition to filter for specific classes.
setClassDefinition
Trying to set this to https://github.com/pimcore/generic-data-index-bundle/blob/1.x/src/Model/Search/DataObject/DataObjectSearchInterface.php also does not work since this interfaces does not extend the SearchInterface. This causes problems with static analysis. https://github.com/pimcore/studio-api-bundle/actions/runs/8626889747/job/23645820528
Working with the concrete implementation DataObjectSearch does not feel right.
@lukmzig Could you please check what the best approach here could be?
The SearchProviderInterface returns a https://github.com/pimcore/generic-data-index-bundle/blob/1.x/src/Model/Search/Interfaces/SearchInterface.php.
The interfaces does not contain the necessary
setClassDefinition
to filter for specific classes.Trying to set this to https://github.com/pimcore/generic-data-index-bundle/blob/1.x/src/Model/Search/DataObject/DataObjectSearchInterface.php also does not work since this interfaces does not extend the SearchInterface. This causes problems with static analysis. https://github.com/pimcore/studio-api-bundle/actions/runs/8626889747/job/23645820528
Working with the concrete implementation DataObjectSearch does not feel right.