build indices from rake tasks