[MRM-1439] improve indexing performance Avoid re-reading the entire index each time an artifact is added, and instead search to see if it should be added or updated Merged from: r1041829