+ collector = BlockJoinCollector(Sort.RELEVANCE, 100, True, True)
+
+ self.searcher.search(kw_level, collector)
+
+ # frazy w treści:
+ # ph1 = collector.getTopGroups(j_themes, Sort.RELEVANCE,
+ # 0, 10, 0, True)
+ # reload(search.index); realod(search); s = search.MultiSearch(); s.multisearch(u'dusiołek')
+ # ph2 = collector.getTopGroups(j_con, Sort.RELEVANCE,
+ # 0, 10, 0, True)
+
+ import pdb; pdb.set_trace();
+
+ return None
+
+
+ def do_search(self, query, max_results=50, collector=None):
+ tops = self.searcher.search(query, max_results)
+ #tops = self.searcher.search(p_content, max_results)
+