Adding indexing based on meta document