# Search

The search is activated when you add the Search node under you Site node. If you would like to disable the search, simply remove the Search node.

<div align="left"><img src="/files/-MNr7okuaYl5KPWEbN4a" alt=""></div>

## Search settings

In the Settings > General node you can set how many search result should be visible on each page and to show the result in a Grid instead of a list.

![](/files/-MNrAdEGxSBp3uxBMlNk)

![Default search result](/files/-MNrB6UibbHilrqrWYAU)

![Grid View](/files/-MNrBLSfA3qHtow7BpBk)

## Hide pages from search

To hide a page from the search scroll down to the Settings section of that page and enable **Hide From Search.**

![](/files/-MNrBpXEm4eIyGw5bgVf)

## Add content to the search page

You can add any content widget under the search result. Open the Search node and add widgets under the Content section.

![](/files/-MNrCrZWuphinpEpcnns)

![](/files/-MNrCyhLWtYN51tZL-q4)

## Advanced Search Settings (Igloo 3.2+)

In the **Igloo.config** file you can change what document types and fields should be included in the search.

```markup
<?xml version="1.0" encoding="utf-8"?>
<IglooSettings>
	<Search>
		<DocumentTypes>page,site,post,feed</DocumentTypes>
		<Fields>nodeName,metaTitle,metaDescription,heading,text,widgets</Fields>
	</Search>
</IglooSettings>
```


---

# 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.iglootheme.com/page-types/search.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.
