Fix the index task and more docs

The PR fixes the issue that intervals for the index task must exactly match the range of data being ingested. There are also more docs.