@scenario(prepare_data, cleanup_data)
def test_match_all_search(context):
    # When create a queryset
    t = QuerySet("localhost", index="foo")

    # And there are records
    add_document("foo", {"bar": "baz", "foo": "foo"})
    add_document("foo", {"bar": "bazbaz", "foo": "foo"})
    add_document("foo", {"bar": "baz", "foo": "foofoo"})
    add_document("foo", {"bar": "baz", "foo": "foofoofoo"})

    # And I filter match_all
    t.filter(MatchAll())
    results = t[0:10]

    # Then I get a the expected results
    len(results).should.equal(4)
Generate a new Label.
dataset/ETHPy150Open Yipit/pyeqs/tests/functional/test_match_all.py/test_match_all_search--crossover with--dataset/ETHPy150Open sophron/BAR/bar/common/label.py/gen_lbl