> For the complete documentation index, see [llms.txt](https://liiguide.docs.laws.africa/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://liiguide.docs.laws.africa/finding-information/advanced-search.md).

# Advanced search

Advanced search techniques allow you to narrow down your results and find exactly what you seek.

1. Click **Advanced Search** on your site

<div align="left"><figure><img src="/files/4eyTa2Q2a8kn1K2Ofyx8" alt=""><figcaption></figcaption></figure></div>

2. Under the advanced search page, type the words you are searching for in the search box.

<div align="left" data-full-width="false"><figure><img src="/files/oj9hH9ZwUt5iehqeDwjq" alt=""><figcaption></figcaption></figure></div>

3. Click on the dropdown menu labeled "**In these fields**"
4. Select the relevant fields where you want the search to focus. You can choose multiple fields if needed.

<figure><img src="/files/CbKC69BjPPo6W271YZoj" alt=""><figcaption></figcaption></figure>

5. Check the box labeled "**Exact phrase**" next to each keyword or phrase to limit the search to exact matches within the selected fields.
6. Refine your search using **("AND," "OR," "NOT")**

* **AND**: To include all specified keywords.
* **OR**: To include any of the specified keywords.
* **NOT**: To exclude specific keywords.

Use the subsequent text boxes and dropdowns to select the appropriate fields. Ensure you check "**Exact phrase**" where necessary

<div align="left"><figure><img src="/files/OzcOoCq3dQYl36NNa9kr" alt=""><figcaption></figcaption></figure></div>

7. Filter results by date to refine your results further by entering the start and end dates in the "**Date from**" and "**Date to**" fields.
8. Click the "**Search**" button to initiate the search.


---

# 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://liiguide.docs.laws.africa/finding-information/advanced-search.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.
