You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm starting now using the plugin, and I have now noticed that by default, nested objects get null id fields when indexing.
Using the samples as an example, in the Team object, the nested object Country gets an null id field after the document is indexed, even if the Country instance passed has an id field.
Is there any specific reason for this?
Any help is greatly appreciated.
The text was updated successfully, but these errors were encountered:
eduardofcgo
changed the title
Null id's on nested objects
Null id's on inner objects
Feb 21, 2015
Maybe I rushed into creating the issue; from my refreshed understanding, an id is only inherent to a document indexed, not to an object.
Assuming that I am right, it now seems that I need to implement my own id in java if I want to do something like: on updating a country object, update all the teams that have that country as an inner object. Am I right?
Hello,
I'm starting now using the plugin, and I have now noticed that by default, nested objects get null id fields when indexing.
Using the samples as an example, in the Team object, the nested object Country gets an null id field after the document is indexed, even if the Country instance passed has an id field.
Is there any specific reason for this?
Any help is greatly appreciated.
The text was updated successfully, but these errors were encountered: