# Set Hierarchy preferences

The data in the Census is organised [hierarchically](https://docs.census.de/the-census-database-overview/the-hierarchical-structure-of-the-census-data): the [Pantheon](https://database.census.de/detail/150770), for example, is a top-level entry that includes numerous sub-entries underneath it (i.e., the cella of the Pantheon, the portico of the Pantheon, etc.). The [Codex Coburgensis](https://database.census.de/#/detail/60684) is a top-level entry that includes all of the pages of the Codex as sub-entries.

When searching the Census, search results are automatically limited to records at the 'top level' of the hierarchy (i.e. the top-level record for the entire Pantheon and the entire Codex Coburgensis). Only records that are at the top level (i.e. they are not subordinate to other records) will appear.

Thus, by searching for the Pantheon, you will not see every subordinate part of the Pantheon displayed, or every page of the Codex Coburgensis appears in the search results for 'Codex Coburgensis'. These results will appear if you [open up the top level entry](https://docs.census.de/the-census-database-overview/the-hierarchical-structure-of-the-census-data) to see subordinate records.

You can change this default setting by selecting 'All hierarchy levels' from the drop down hierarchy menu. The search will then result in records from all hierarchy levels. Using 'All hierarchy levels', records may appear more than once in search results, if they are positioned both at the top of a hierarchy and in a subordinate position in a hierarchy.

You can find out more about the hierarchical structure of data in the Census [here](/the-census-database-overview/the-hierarchical-structure-of-the-census-data.md).

<figure><img src="/files/DYoDHtSClobrOKDPLAMB" alt="" width="264"><figcaption></figcaption></figure>

\ <br>


---

# 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://docs.census.de/navigating-and-searching/set-hierarchy-preferences.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.
