Skip to content

Latest commit

 

History

History
28 lines (27 loc) · 506 Bytes

06b5d3d56c4d4e3b61ae42ea26401c40.asciidoc

File metadata and controls

28 lines (27 loc) · 506 Bytes
resp = client.msearch(
    index="my-index-000001",
    searches=[
        {},
        {
            "query": {
                "match": {
                    "message": "this is a test"
                }
            }
        },
        {
            "index": "my-index-000002"
        },
        {
            "query": {
                "match_all": {}
            }
        }
    ],
)
print(resp)