Implemented shuffling of connections if roundRobin is set to true.
Just return the first available connection that is enabled, instead of the last one.
Return is now at back of the function again. Also added a check to not shuffle if only one connection in available.
forgot to add the break.
Fixed tie_breaker in QueryString to be float
Merge pull request #354 from kostiklv/tie-breaker-fix-20

Fixed tie_breaker in QueryString to be float
Merge branch 'master' of https://github.com/ruflin/Elastica
Removed the shuffle if RoundRobin bit is set.
Merge pull request #344 from webpatser/master

getConnection optimization
Fixed connection test
Test setting dynamic template based on the example from the ES documentation.
Merge pull request #358 from jappievw/dynamic_mapping_template

Test case dynamic template
Enhanced the Mapping Test to prevent undefined indices.
Perform all checks down the chain

Just validating the existence of a property doesn't presume it is automatically created by the dynamic template.
Merge pull request #359 from jappievw/dynamic_mapping_template

Dynamic mapping template (enhanced test)
Fixing bug in cluster server connection setup
Optimized Index::exists() method to not require a full _cluster/state call.
Fixed Elasica_Request reference to Request.
Changed Index::exists() to use query paramater of request() method.
Merge pull request #362 from cisox/master

Optimized Index::exists() method to not require a full _cluster/state call.
Merge pull request #361 from mattwillo/master

Bug fix for cluster server connection setup
Adding MaxScore information to ResultSet