Updated indexType for metadata search.