use indices for docs retrieval
remove old search
reindent
update cached docs
use '@owner' for provenance info
bugfix
search by property in all approriate db's
don't forget to save the replication doc