Problem:
we would like to clear existing permanent flag, update it.
Overview
flag is used to identify that this is domain url, or source entry url
Affects:
Instance 'news' type: we do not need to keep domains
Instance 'search engine' we need it
Clearing the flag is costly, we would need to evaluate each link, check it, why is it permanent, if it is necessary.
'Bookmarked' should not be used, as source can be removed, and so should be source entry. It is no longer permanent.
We could have some other field like "parent_id" to identify domains vs nondomains.
Will domains will not have parent id?
Solutions
Added to update, where we re-evaluate status of entry
if not keep_domains find domains, remove flag. should be easy
do we need permanent flag? maybe update_data, reset_data, or other api should check if object is necessar, and not remove it? No - it would make cleaning process more difficult
keep 'domain_entry' boolean in links. would provide ability to easily filter domains. What if we wanted 'www'-less domains? expect more flags incoming. I think we could expect domain_support for that permanent behavior
Processing all permanent entries to see if they should still be permanent is intensive and time consuming. This should be on-update. Problem - update might be not configured. Then what?
Problem: we would like to clear existing permanent flag, update it. Overview flag is used to identify that this is domain url, or source entry url
Affects:
Clearing the flag is costly, we would need to evaluate each link, check it, why is it permanent, if it is necessary. 'Bookmarked' should not be used, as source can be removed, and so should be source entry. It is no longer permanent.
We could have some other field like "parent_id" to identify domains vs nondomains.
Will domains will not have parent id?
Solutions