The best way to find out what indexers do is to try it yourself. Grab an old textbook and go through it from page to page, highlighting every occurrence of names, places, titles and concepts. Go back and type up all the entries into a big table with the page numbers and page ranges included. Sort the whole thing into alphabetical order, and presto! you have an index.