Made some change to use the stream_id as routing_key . In order to work
the ES mapping should be modified . i have done it manually .  

{

    "_default_": { "_routing": {

            "required": true,

            "path": "streams"

        }

    }

}

To improve search response time , the routing key should_be passed as
argument in the requests.

see http://www.elasticsearch.org/blog/customizing-your-document-routing/