How to embed child classes based on abstract class Id

On second reading, I think you want runtime polymorphism on @IndexedEmbedded? If so, then that’s not supported (yet).

See java - lucene / hibernate search - Cannot search by fields in subclass in collection - Stack Overflow ; there’s a suggested workaround, but I’m not sure how you would implement it in Search 6. Maybe @IndexingDependency for abstract Method will be relevant to you, too.