ruflin/Elastica — pull request #739 by bakura10 (2014-12-26 13:55:49+00:00)
Title: Allow indexes to be any scalar

Hi,

As far as I know (and from my tests), nothing disallow an index name to be an integer. In my case, I use aliases where the alias is my database primary key (hence, an int), and currently Elastica throws an exception.

This PR makes now only throws an exception if this is a non-scalar index, and cast to string.