adding documents to global search