Problem/Motivation

Currently, indexed content is stored in the ai_content_chat.settings config file under the indexed_content key. This approach has several problems:
Config file bloat – As more content is indexed, the config file grows significantly, potentially reaching megabytes for larger sites
Config export issues – Large config files slow down drush cex/cim and version control operations
Not scalable – Sites with thousands of nodes will experience performance degradation
Config vs content – Indexed content is dynamic data, not configuration; storing it in config violates Drupal's config/content separation principle

Proposed resolution

Create a dedicated database table to store indexed content

Data model changes

New database table: ai_content_chat_index
Remove indexed_content from ai_content_chat.settings config schema

Issue fork 3569915-3569938

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

  • main Comparechanges, plain diff MR !1

Comments

solimanharkas created an issue. See original summary.

solimanharkas’s picture

Assigned: solimanharkas » Unassigned
Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.