ruflin/Elastica — pull request #191 by ralcus (2012-06-19 15:01:18+00:00)
Title: Modified search method in Elastica_Index to accept and array of options

OK i've modified the search function to now except an array of options. Much like https://github.com/ruflin/Elastica/blob/master/lib/Elastica/Search.php

For now i've only added 'limit' and 'from' as accepted options. I wasn't sure if 'routing' and 'search_type' would be applicable to the Elastica_Index search method.

I've also altered the empty check when looping the options as the 'from' option can have a 0 and still be valid.