Hi,
I just wanted to verify that i need a reference to the parent in order to get the full auto indexing behavior.
For example:
I want to be able to search Items with a particular User.
I have an Indexed Entity called Item that has a User property. The User property (in Item) has the IndexedEmbedded annotation and the User entity class is marked as Embeddable.
When i add and remove users to my Item class, the index updates fine. I need the index to be updated when an User's name(or whatever) changes. Do i absolutely need to have a reference back to the Item (marked as ContainedIn) in my User Entity? I know i can manually update the index when someone changes a User's name, but it would be awesome to have this done automatically for me. Is there another work around?
Thanks,
|