HSEARCH700030: Unable to resolve dependencies of a derived property: there is a cyclic dependency starting from type

Consider that B is updated by a different form than A. Updating is a fairly rare process. And I want when a particular field(field2) is changed from B only then to reindex A as it affects it. I wouldn’t want to use oneToMany relations on the B side.

Should I massindexer by class A when I change something in B or is there a better solution?

I found this solution but its not working.
Why @AssociationInverseSide is required when @IndexedEmbedded specified? - #5 by yrodiere

Thank you.