Fix documentation on building index