Workaround, if such behavior is undesirable, is to drop @Indexed annotation from the superclasses. That might be not an option in some cases, though.
Right, in some cases you have a non-abstract entity with some non-abstract entities extending it. If you want each of those classes in its own index, you will have to use @Indexed(index = "myIndexName" on the child classes. |