Hi,
i am using two indexes, one is for the main entity, and other for the
entities relationships having the following structure:
main index:
{
guid:1,
title:abc,
........
}
{
guid:2,
title:xyz,
........
}
*Relations index *
{
guid_1: 1,
guid2_: 2,
relation: friend
........
}
Now if the enity(guid:1 or guid:2) in the main index is deleted, then the
relation must be deleted as well, but these two types are in different
indexes,so i have to trigger the deletion from the two indices, but even
then there are some relations documents left whose main document has been
deleted. so i want to know if its possible to get something like garbage
collector, which will remove all the relation document whose main document
in main index does not exist anymore.
Thanks