Only create columns for Filterable attributes fields

Created on 19 September 2025, 27 days ago

Problem/Motivation

Currently the schema creates columns for all the fields even if they aren't used for filtering.

Steps to reproduce

1. Create a search api backend with multiple fields.
2. Check the database schema has created columns for all the extra fields.

Proposed resolution

It should only create columns for fields with the Filterable attributes indexing option.

Remaining tasks

Provide MR

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024