update doc for indexing. fixes #2199
Merge branch 'master' of github.com:JuliaLang/julia