def set_search_document(self, thread_title=None): if thread_title: self.search_document = filter_search('\n\n'.join( [thread_title, self.original])) else: self.search_document = filter_search(self.original)
def set_search_document(self, thread_title=None): if thread_title: self.search_document = filter_search('\n\n'.join([thread_title, self.original])) else: self.search_document = filter_search(self.original)