Merged index with db