Processor will not run on "Storage only" field provided by Search API Solr, despite being string type.

Created on 22 August 2023, over 1 year ago

Problem/Motivation

OOTB, this check will skip Storage Only fields because by default only 'text' is evaluated but they are string fields:

    if (!$this->getDataTypeHelper()->isTextType($type)) {
      return $value;
    }

Proposed resolution

Provide an array of types to check:

    if (!$this->getDataTypeHelper()->isTextType($type, ['text', 'string'])) {
      return $value;
    }
πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kevinquillen

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

Comments & Activities

Production build 0.71.5 2024