def METHOD_NAME(self):
    term_query1 = querybuilder.get_term_query('inform', analyzer=get_lucene_analyzer(stemming=False))
    term_query2 = querybuilder.get_term_query('retriev', analyzer=get_lucene_analyzer(stemming=False))
    should = querybuilder.JBooleanClauseOccur['should'].value
    boolean_query1 = querybuilder.get_boolean_query_builder()
    boolean_query1.add(term_query1, should)
    boolean_query1.add(term_query2, should)
    bq1 = boolean_query1.build()
    hits1 = self.searcher.search(bq1)
    hits2 = self.searcher.search('information retrieval')
    for h1, h2 in zip(hits1, hits2):
        self.assertEqual(h1.docid, h2.docid)
        self.assertEqual(h1.score, h2.score)