0
@Document(indexName = "test", type = "author")
public class Author {
private String authorId;
private List<Book> books;
}
@Document(indexName = "test", type = "book")
public class Book {
private String bookId;
}
当我保存作者时使用弹簧数据elasticsearch,我希望书籍保存在不同的实体而不是子文档中。可能吗?弹簧数据弹性搜索是否支持将内部对象保存为新文档