Given that I have 2 domain classes
@Document(indexName="domain1") class Domain1 { @JsonSerialize(using =