> For the complete documentation index, see [llms.txt](https://docs.boldminded.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.boldminded.com/dexter/docs-craft/configuration/configuring-indices.md).

# Configuring Indices

Algolia and Meilisearch both provide admin interfaces to configure an index and its searchable properties. There is no need for Dexter to try to replicate these administration features in the Craft control panel. You can use the native interface of your chosen search provider to define which properties/fields are searchable, filterable, faceted, etc. It is easiest to do this after 1 or more entries are indexed in either provider. When Dexter sends the JSON object to either provider it automatically creates documents in an index that map to that JSON object.

{% hint style="info" %}
**BoldMinded can not offer support on how to configure indexes or how to create custom pipelines. For guidance on pipelines, refer to the the \`Pipelines\` directory for examples.**
{% endhint %}

Algolia and Meilisearch both have intuitive interfaces to manage index settings in their hosted accounts. They both also let you export and import settings via a .json file. Dexter will let you export the settings, save them to your `config` directory for version control, and re-import them after making changes.

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

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

This is an example of the Meilisearch settings file. Save this file to your `config/meilisearch` directory manually, or use the export option to get your starting point. Even if you manage the settings through the account interfaces, we suggest exporting and saving a copy of the settings locally to keep in version control.

<pre class="language-json"><code class="lang-json"><strong>{
</strong>    "displayedAttributes": [
        "*"
    ],
    "searchableAttributes": [
        "*"
    ],
    "filterableAttributes": [
        "status",
        "entry_date"
    ],
    "sortableAttributes": [],
    "rankingRules": [
        "words",
        "typo",
        "proximity",
        "attribute",
        "sort",
        "exactness"
    ],
    "stopWords": [],
    "nonSeparatorTokens": [],
    "separatorTokens": [],
    "dictionary": [],
    "synonyms": [],
    "distinctAttribute": "",
    "proximityPrecision": "byWord",
    "typoTolerance": {
        "enabled": true,
        "minWordSizeForTypos": {
            "oneTypo": 5,
            "twoTypos": 9
        },
        "disableOnWords": [],
        "disableOnAttributes": []
    },
    "faceting": {
        "maxValuesPerFacet": 100,
        "sortFacetValuesBy": {
            "*": "alpha"
        }
    },
    "pagination": {
        "maxTotalHits": 1000
    },
    "embedders": [],
    "searchCutoffMs": null,
    "localizedAttributes": [],
    "facetSearch": true,
    "prefixSearch": "indexingTime"
}
</code></pre>


---

# 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.boldminded.com/dexter/docs-craft/configuration/configuring-indices.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.
