@wrap_exceptions<EOL><INDENT>def search(self, start_ts, end_ts):<DEDENT>
query = '<STR_LIT>' % (start_ts, end_ts)<EOL>return self._stream_search(query)<EOL>
Called to query Solr for documents in a time range.