aparo/pyes — pull request #188 by patricksmith (2012-06-07 19:51:40+00:00)
Title: Don't collect info on creation of ES object

Keep the info as an empty dictionary instead and let the user call `collect_info` if necessary.

This behavior was recently introduced in https://github.com/aparo/pyes/commit/bd3ccf2af74d2f272f6b0921c5f57d654c7c5c5d. We have many indices and collecting the status of all them, as is done in `collect_info`, takes unnecessary time and bandwidth (the status response is ~1.5MB) when creating an `ES` object. This change allows the user to call `collect_info` if they desire that information, but does not force it to happen on creation.