ER: give a better error message for hashing indices
Merge pull request #5019 from cpcloud/raise-on-index-hash

ER: give a better error message for hashing indices