> For the complete documentation index, see [llms.txt](https://docs.census.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.census.de/navigating-and-searching/examples-of-typical-searches/search-functions/the-search-bar/using-operators-in-the-search-bar.md).

# Using Operators in the Search Bar

You can specify your search by using operators to combine keywords in the search field. The Boolean operators AND, OR and NOT permit complex combinations of several search terms. In the following table, you will find an explanation of each of the functions and their commands, as well as an explanation of the truncation operation to extend a search for words of the same root:

<table><thead><tr><th width="194" align="center">Operator</th><th width="159.33333333333331" align="center">Short Cut Key</th><th align="center">Function</th></tr></thead><tbody><tr><td align="center">AND</td><td align="center"><p>+</p><p></p></td><td align="center">retrieves records that contain both search terms</td></tr><tr><td align="center">OR</td><td align="center">, </td><td align="center">retrieves records that contain either one search term or the other</td></tr><tr><td align="center">NOT</td><td align="center">-</td><td align="center">retrieves records that contain the search term entered before NOT, but do not contain the search term entered after NOT</td></tr><tr><td align="center">TRUNCATION</td><td align="center">*</td><td align="center">when attached to a character string, retrieves all records containing words that contain that character string</td></tr></tbody></table>

## Examples: How to Use Operators

<table><thead><tr><th width="353"></th><th></th></tr></thead><tbody><tr><td>Hercules Farnese</td><td>Returns all records that contain both Hercules and Farnese. Neither the order of the terms is taken into account, nor do both terms have to appear in combination.</td></tr><tr><td>“Hercules Farnese“</td><td>Returns all records containing exactly this phrase or exactly this combination of terms, also taking into account the order of the terms. </td></tr><tr><td>Aspertini AND sarcophagus</td><td>Returns all records containing both Aspertini and sarcophagus. The result is identical to the search "Aspertini sarcophagus" or Aspertini + sarcophagus.</td></tr><tr><td>Aspertini + sarcophagus</td><td>Returns all data sets in which both Aspertini and sarcophagus occur. The same results will appear with the input Aspertini sarcophagus. They would also appear with the input Aspertini AND sarcophagus.</td></tr><tr><td>“Zuccari Laocoon“ - Getty</td><td>Returns all records that contain the phrase <br>"Zuccari Laocoon" but not the word Getty. The minus excludes all records that contain Getty even if they contain both Zuccari and Laocoon.</td></tr><tr><td>Apollo , Belvedere</td><td>Returns all records that contain either Apollo or Belvedere</td></tr><tr><td>mari*</td><td>Returns all records in which the character string Mari- appears, such as records with the words Maria, Mario, Marius, but also maritime, etc.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.census.de/navigating-and-searching/examples-of-typical-searches/search-functions/the-search-bar/using-operators-in-the-search-bar.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
