> For the complete documentation index, see [llms.txt](https://docs-jmapserver-lima.k2geospatial.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-jmapserver-lima.k2geospatial.com/e/extensions/documents/documents-for-jmap-ng/searching-for-documents.md).

# Searching for Documents

There are two types of search available: basic search and advanced search. Basic search is based on terms included in the title and description of documents. Advanced search uses complex search forms that contain multiple criteria.&#x20;

## Basic search&#x20;

To perform a basic search:&#x20;

1. Click on <img src="/files/N4lLoLpYATKqTJRxYolz" alt="" data-size="line"> to open the **Documents** panel.&#x20;
2. Click on <img src="/files/MCDPVH0FJYfDuBMr4tRb" alt="" data-size="line"> to perform a search.&#x20;
3. In the **Basic** tab, indicate whether you want to restrict the search to a selection of items or to items displayed in the map.&#x20;
4. Select the repository in which to perform the search.&#x20;
5. Enter the search terms. \
   The terms will be searched in the title and description of the documents. \
   The search is not case sensitive but accents are taken into account.&#x20;
6. Click **Search**. The results are displayed in the **Show selected documents** section of the **Documents** panel. [Showing Selected Documents](/e/extensions/documents/documents-for-jmap-ng/showing-selected-documents.md) section provides more details.<br>

   <figure><img src="/files/7I67oGmAO0DLI2xjl7eo" alt=""><figcaption></figcaption></figure>

## Advanced Search&#x20;

To perform an advanced search:&#x20;

1. Click on <img src="/files/N4lLoLpYATKqTJRxYolz" alt="" data-size="line"> to open the **Documents** panel.&#x20;
2. Click on <img src="/files/MCDPVH0FJYfDuBMr4tRb" alt="" data-size="line"> to perform a search.&#x20;
3. In the **Advanced** tab, specify whether you want to restrict the search to a selection of items or to items displayed on the map.&#x20;
4. Select the repository in which to search.&#x20;
5. Select the form to use to enter the search terms.&#x20;
6. Click **Next**.&#x20;
7. Enter the search terms. \
   The form can contain multiple sections. \
   Some attributes may be required, meaning that you must give them a value before the search can be performed. \
   The search is not case-sensitive, but accents are taken into account.&#x20;
8. Click **Search**. The results are displayed in the **Show Selected Documents** section of the **Documents** panel.[ Showing Selected Documents](/e/extensions/documents/documents-for-jmap-ng/showing-selected-documents.md) section provides more details.<br>

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


---

# 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:

```
GET https://docs-jmapserver-lima.k2geospatial.com/e/extensions/documents/documents-for-jmap-ng/searching-for-documents.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.
