Add schema document to index.