Behavoir in CRUD operations [message #1815686] |
Tue, 08 October 2019 07:58  |
Eclipse User |
|
|
|
What are the semantics of the Hawk index on CRUD operations on the indexed models?
For example consider model X on a git repository is indexed at time 0.
A CRUD operation is done on the model on another PC and the changes pulled.
At time 1, the index runs, sees the modified file and performs an update. What are the results on the index depending on the modification?
Create
New index entries for the created element are added to the DB.
Update
Does the indexed attributes get updated or will the result in new entries? For a correct update does Hawk needs some concept of Id or does it use a default/smart one?
Delete
Does the index for the deleted element (and its indexed attributes) gets deleted from the index too? If so, does the deletion has a cascade effect?
Thanks,
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02991 seconds