摘要:Multi-tenant is the key feature for SaaS application, however, the traditional indexing mechanism has failed in multi-tenant shared scheme database. This paper proposed a multi-tenant distributed indexing mechanism. We create a global index first and then create the local index by MapReduceframework based on Hadoop. We also proposed the process of index update and index merging. Experimental results show that our multi-tenant distributed indexing mechanism has a good acceleration capability in creating index and high efficiency in retrieval, and provide good isolation for tenants to protect data safe.