add some docstrings to esconnect
index document size

fixes https://github.com/brainbot-com/es-nozzle/issues/12