def METHOD_NAME(self):
    q = ' OR '.join(['%s:"new york yankees"' % lang for lang in self.ocr_langs])
    self.assertEqual(si.page_search(Q('phrasetext=new%20york%20yankees'))[0], '+type:page +((ocr:"new york yankees"^10000 ) OR %s )' % q)