payload_index_create
Creates a payload index on a collection field to enable fast filtering in search queries. Use when a field, such as date, author, or type, must be filterable.
Instructions
Creates a payload index on a collection field so it can be used as a fast search filter (e.g. date, author, type). Use this when the wizard's filter question or a user request names a field that needs to be filterable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | ||
| collection | Yes | ||
| field_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | ||
| created | Yes | ||
| collection | Yes | ||
| field_type | Yes |