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

[source, python]
----
resp = client.search(
    index="file-path-test",
    query={
        "term": {
            "file_path.tree_reversed": {
                "value": "my_photo1.jpg"
            }
        }
    },
)
print(resp)
----
