Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Scenario: object A has a reference to object B and object B has a reference to object C. In other words, A is composed of B and C. Each object has a field called 'name'.
I would expect that when indexing object A, I would be able to search on field 'b.c.name'. Fields 'name' and 'b.name' are seen in the index, but there is no reference to b.c.name.
John, can you verify if it's a bug in HSearch. The indexing should work at first sight, but I might have overlooked something either in the test case or in HSearch code.
Scenario: object A has a reference to object B and object B has a reference to object C. In other words, A is composed of B and C. Each object has a field called 'name'.
I would expect that when indexing object A, I would be able to search on field 'b.c.name'. Fields 'name' and 'b.name' are seen in the index, but there is no reference to b.c.name.
For more details, see the attached jUnit test and the forum:
http://forum.hibernate.org/viewtopic.php?t=979280