Right now, it is not possible to convert documents of inherited class, even if one of the parent classes has the @ES\Index annotation.
If this was possible, you could get Doctrine entities from the database and then persist them to Elasticsearch.
The Doctrine entities, you get from a query of a class inherited by the original entity class.
Right now, it is not possible to convert documents of inherited class, even if one of the parent classes has the
@ES\Index
annotation.If this was possible, you could get Doctrine entities from the database and then persist them to Elasticsearch. The Doctrine entities, you get from a query of a class inherited by the original entity class.
You can read more about proxy objects here.