Niclas,

I'm doing backup/restore functionality in StreamFlow now, and am realizing that the reindexing service is not really enough. What it does is to go through the EntityStore and reindex all the entities. But it should also remove any entities in the index which are no longer in the EntityStore. So, we would need a way to tell the index to reset itself to basically nothing.

We need an EntityIndexer interface where we could put such a method in, I think. Otherwise there's a big risk that the index will contain data that is stale (I have already had to add a fix to EntityQuery for this case; otherwise it breaks badly when the entity no longer exists).

/Rickard

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to