Updated documentation on indexes
Fixed index resource PUT command handling, was broken.
Index creation now done in one step to save memory.
Index creation now done in one step to save memory.