Creating and maintaining a keyword index for ebooks