Replace index name and type with constants
Merge pull request #13 from SBRitter/index-type

Replace index name and type with constants