Using classes which extend other classes as doc classes was not working correctly. The Elastic::Model::Role::Doc role was being applied to the base class, and then removed after the class was extended:
package Foo;
use Elastic::Doc;
extends 'Foo::Other';
Using classes which extend other classes as doc classes was not working correctly. The
Elastic::Model::Role::Doc
role was being applied to the base class, and then removed after the class wasextend
ed: