I use Sulu for a couple of weeks now and I tried to index an entity of my project in App\Entity (App\Entity\Commune).
I put the Commune.xml in src/Resources/config/massive-search/Commune.xml
But when I execute php bin/console massive:search:reindex, nothing happens.
It seems that the explored paths for metadatas are only from bundle :
$container->getParameter('kernel.bundles')
And so when I dump the paths form getBundleMappingPaths (DependencyInjection/MassiveSearchExtension.php), I only get this :
I use Sulu for a couple of weeks now and I tried to index an entity of my project in App\Entity (App\Entity\Commune). I put the Commune.xml in src/Resources/config/massive-search/Commune.xml But when I execute php bin/console massive:search:reindex, nothing happens.
It seems that the explored paths for metadatas are only from bundle :
$container->getParameter('kernel.bundles')
And so when I dump the paths form
getBundleMappingPaths
(DependencyInjection/MassiveSearchExtension.php), I only get this :Is there a way to add AppBundle or is it a limitation which obliges to use a bundle to index entities ? Thank you very much :)