@wrap_exceptions<EOL><INDENT>def _stream_search(self, query):<DEDENT>
for doc in self.solr.search(query, rows=<NUM_LIT>):<EOL><INDENT>if self.unique_key != "<STR_LIT>":<EOL><INDENT>doc["<STR_LIT>"] = doc.pop(self.unique_key)<EOL><DEDENT>yield doc<EOL><DEDENT>
Helper method for iterating over Solr search results.