- print self.do_search(phrase_level)
- print self.do_search(kw_level)
- print self.do_search(top_level)
+ 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)