Document: add doc ref to search index on create document