I'm curious how others are approaching indexing *ToMany (OneToMany, ManyToMany) relationships in Hibernate Search? Hibernate Search docs say this,
Quote:
@IndexedEmbedded is supported on collections too (ie to index associated object included in collections). But the support is only partially implemented. It will depend on how you update collections (Check HSEARCH-56 in JIRA for more informations). The workaround is to manually index the object (session.index())
So, if I have a @OneToMany on my main entity to a collection of other indexed entities, I should use @IndexedEmbedded? I'm not familiar enough with Lucene, but I know it doesn't have any notion of "join", so how would Hibernate manage a *ToMany using @IndexedEmbedded?