> For the complete documentation index, see [llms.txt](https://documentation.ajaxsearchpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.ajaxsearchpro.com/general-settings/search-in-custom-fields.md).

# Search in custom fields

{% embed url="<https://youtu.be/U9Uc-lfzDZI>" %}
Searching post metadata with Ajax Search Pro
{% endembed %}

```
Search Sources -> Post Type Search -> Search in custom fields
```

In some cases you might need to search in custom fields as well, as some custom post types store data in custom fields.

### Regular Engine

**Searching within specific fields**

* Use the search bar to look for the desired fields
* Drag & Drop the fields needed from the left side of the list to the right

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

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

**Searching all fields** In cases where most of the fields are required for search, it is easier to simply enable the *Search all custom fields?* option.

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

### Index Table Engine

Use the same option type under the Index Table settings submenu, on the General options panel.

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

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