// This file is autogenerated, DO NOT EDIT
// analysis/tokenizers/pathhierarchy-tokenizer.asciidoc:289

[source, python]
----
resp = client.search(
    index="file-path-test",
    query={
        "term": {
            "file_path.tree": "/User/alice/photos/2017/05/16"
        }
    },
)
print(resp)
----
