Build indexes for disambiguation and redirects