> ## Documentation Index
> Fetch the complete documentation index at: https://docs.melonly.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Search Indices

> Add custom search types so users can search records by any field, such as phone number.

***

## What are Search Indices?

Search indices are custom search types that let users search records by any field, such as phone number. They show up as extra tabs in [Record Search](/CAD/User/lookups#record-search), and as search fill options in templates.

Your CAD starts with a Phone Number search on civilians. You can have up to 5 search types.

<Frame caption="Search Indices">
  <img className="block" src="https://mintcdn.com/melonly/dqMbtRYjkIqceFhq/images/CAD/Admin/Records/search-indices.png?fit=max&auto=format&n=dqMbtRYjkIqceFhq&q=85&s=278f737579e7106d4bcb8f4e25c239f9" alt="Custom Search Types table with the default Phone Number search type" style={{ borderRadius: '0.75rem' }} width="1918" height="989" data-path="images/CAD/Admin/Records/search-indices.png" />
</Frame>

***

## Adding a Search Type

<Steps>
  <Step title="Open Search Indices">
    In the CAD admin panel, open **Records & Reports** → **Search Indices**.
  </Step>

  <Step title="Add a search type">
    Click **+** and enter a name (3 to 20 characters). Optionally limit it to one record type.
  </Step>

  <Step title="Add fields">
    For each field (up to 4), set a name, the matcher it searches, and an optional input mask.
  </Step>

  <Step title="Save">
    Click **Save Search Index**.
  </Step>
</Steps>

<Warning>
  The matcher must match the one set on a template field, or the search won't find anything. See [Matchers](/CAD/Admin/template-editor#matchers).
</Warning>

***

<Card title="Need help?" icon="headset" href="https://melonly.xyz/discord">
  Still have questions? Join our Discord server for support from the Melonly Team.
</Card>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.