Пример #1
0
 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)
Пример #2
0
 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)