From: <mi...@st...> - 2008-01-22 10:11:42
|
David S. wrote: > Michael Ströder <michael@...> writes: > > >> Hmm, the argument 'sizelimit' should be rather used with the async >> method search_ext(). You can start the search with search_ext() and >> receive the partial results with result3() until this exception is raised. > > Aha, like raising StopIteration in a generator. Thanks. Almost: But StopIteration indicates the regular end of an iteration whereas SIZELIMIT_EXCEEDED exception indicates that only partial results were received. Ciao, Michael. |