

def test_mlt_on_foo_no_s(self):
    'Verify MLT with the foo field.'
    index = self.get_s().get_indexes()[0]
    doc_type = self.get_s().get_doctypes()[0]
    es = es.get_s().get_es()
    mlt = MLT(1, mlt_fields=['foo'], index=index, doctype=doc_type, es=es, min_term_freq=1, min_doc_freq=1)
    eq_(len(mlt), 4)

dataset/ETHPy150Open mozilla/elasticutils/elasticutils/tests/test_mlt.py MoreLikeThisTest.test_mlt_on_foo_no_s/VarMisuse@44/71 `self`->`es`