Commits

Jason R. Coombs committed 87f3912

Ensure search results are generated in FullTextMongoDBLogger.

Comments (0)

Files changed (2)

+1106.1.2
+========
+
+* Fix issue in new MongoDBFullTextLogger where docs weren't processed.
+
 1106.1.1
 ========
 

pmxbot/logging.py

 		db = self.db.database
 		collection_name = db.name
 		resp = db.command('text', collection_name, search=query)
-		return (res['obj'] for res in resp['results'])
+		docs = (res['obj'] for res in resp['results'])
+		return self._generate_search_results(docs)
 
 
 def first(iterable):