Your use case works (with a class level bridge).
Another one is to reverse the query
author.firstname=Sue AND author.lastname=Smith
and then do
author.getBooks()
:)
Have you read Hibernate Search in Action ;P
On 18 janv. 2010, at 21:04, Sanne Grinovero wrote:
Hello,
there's a limitation in Hibernate Search's capabilities of mapping
structured objects,
there's a good explanation of this problem here:
https://forum.hibernate.org/viewtopic.php?f=9&t=1001551
This is something I'm aware of since my first use of Search, I was
assuming you know about it?
I couldn't think of a good solution so far, besides the awful
workaround I suggested in the forums.
Better ideas?
Sanne
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev