Switch to use Hector API for index writes and DAOs.