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 All,
I was wondering what should be the best way to handle atomic updates to nested fields. The SorlNet currently supports atomic updates for string, int, and, arrays. But when we are talking about nested objects I did not find anything related to atomic updates.
Do you consider a good idea to add another version to AtomicUpdateSpec that supports arrays of objects that should be handled as nested objects, for example:
Let's suppose that I'm indexing documents that represent Color Libraries with the following structure
Considering this scenario I thought that could be relevant to update the AtomicUpdateSpec to support arrays of objects. This is the best way to implement this kind of operation, or did you have another suggestion?
The text was updated successfully, but these errors were encountered:
Hello All,
I was wondering what should be the best way to handle atomic updates to nested fields. The SorlNet currently supports atomic updates for
string
,int
, and,arrays
. But when we are talking about nested objects I did not find anything related to atomic updates.Do you consider a good idea to add another version to AtomicUpdateSpec that supports arrays of objects that should be handled as nested objects, for example:
Let's suppose that I'm indexing documents that represent Color Libraries with the following structure
And I would like to update this current document
My goal is to use the atomic update to update the nested list of colors, replacing, adding, or removing elements from this list. For example:
Considering this scenario I thought that could be relevant to update the AtomicUpdateSpec to support arrays of objects. This is the best way to implement this kind of operation, or did you have another suggestion?
The text was updated successfully, but these errors were encountered: