globocom/tornado-es — pull request #10 by newgene (2013-08-14 19:07:09+00:00)
Title: Make size,from,routing parameters optional with no default values, to av...

...oid overwriting values provided from "source".

q= "{ "from" : 10, "size" : 20, "query" : {"term" : { "user" : "kimchy" }}}
self.search(callback=callback, index='a_index', type='a_type', source=q)

In above code, when "from" and "size" passed from "source", they are overwritten by the default "from" and "size" values set in original "create_path" method. This pull request solves this issue.

Thanks for making "tornadoes" available.

Chunlei