Warning: Field @field is not indexed on the @index so cannot be filtered on.

Created on 11 August 2025, 8 days ago

Problem/Motivation

AI Related Content throwing a Field @field is not indexed on the @index so cannot be filtered on. warning.

The problem is that AIRelatedContentNodeArgument inherits the SearchApiStandard which adds an additional condition for the argument: https://git.drupalcode.org/project/search_api/-/blob/8.x-1.x/src/Plugin/... . This condition is redundant in our case and can throw that warning.

Proposed resolution

The solution is to overwrite the parent query method.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine dench0

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

Comments & Activities

Production build 0.71.5 2024