# Fun with Path Hierarchy Tokenizer

## Use Cases

Here are questions and scenarios from folks trying to use it:

1. [How do I index hierarchical data?](https://discuss.elastic.co/t/how-do-i-index-hierarchical-data/55643)
2. [Terms aggregation query performance slow](https://discuss.elastic.co/t/terms-aggregation-query-performance-slow/55542)
3. [Denormalization and Concurrency ](https://www.elastic.co/guide/en/elasticsearch/guide/current/denormalization-concurrency.html)
4. [Employee Hierarchy Usecase](https://discuss.elastic.co/t/employee-hierarchy-usecase/29859)
5. [Match against stored wildcard string](https://discuss.elastic.co/t/match-against-stored-wildcard-string/34725)
6. [Domain name analyzer/tokenizer](https://andrewwhitby.com/2014/11/23/domain-name-analyzer-with-elasticsearch/)
7. [Performance impact of the "include/exclude" fields of an aggregation](https://discuss.elastic.co/t/performance-impact-of-the-include-exclude-fields-of-an-aggregation/36969/4)
8. [Aggregation on a materialized path](https://discuss.elastic.co/t/aggregation-on-a-materialized-path/36519/2)
9. [An elasticsearch plugin to create hierarchical aggregations](https://github.com/opendatasoft/elasticsearch-aggregation-pathhierarchy)
10. [Parent child deep level hierarchy](https://discuss.elastic.co/t/parent-child-deep-level-hierarchy/37910)
11. [Add folderdepth in Path\_hierarchy](https://discuss.elastic.co/t/add-folderdepth-in-path-hierarchy/41991)
12. [Structuring data for hierarchy](https://discuss.elastic.co/t/structuring-data-for-hierarchy/45356/2)
13. [Elasticsearch - using the path hierarchy tokenizer to access different level of categories](http://stackoverflow.com/questions/24819234/elasticsearch-using-the-path-hierarchy-tokenizer-to-access-different-level-of)
14. [Question about custom analyzer](https://discuss.elastic.co/t/solved-question-about-custom-analyzer/48680/6)
15. [Path\_hierarchy with custom delimiter fails when values starts with a number](https://discuss.elastic.co/t/path-hierarchy-with-custom-delimiter-fails-when-values-starts-with-a-number/53193)
16. [Wild card or pattern in Kibana query?](https://discuss.elastic.co/t/wild-card-or-pattern-in-kibana-query/54108)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://shoppinpal.gitbook.io/docs-shoppinpal-com/6.-elasticsearch/fun-with-path-hierarchy-tokenizer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
