index moved to db