No Excerpt after update to 7.14 with multi Index View

Created on 12 October 2018, over 6 years ago
Updated 15 January 2025, 6 days ago

Hello,

i want to update search_api_solr to Version 1.14 but after update, my View dont show Excerpts.

I use a View with 2 Index (search_api_multi). One for Nodes and one for Files.

I think i found the problem:

on service.inc file on Line 1403

if (isset($fulltext_fields[$search_api_property])) {
        // Remember the highlighted value so we can use it for the excerpt, if
        // requested.
        $excerpt_parts = array_merge($excerpt_parts, $values);
      }

the Value $search_api_property is in my case: title / search_api_viewed
the Array $fulltext_fields is:

default_node_index:search_api_viewed (String, 36 characters ) default_node_index:search_api_viewed
default_node_index:title (String, 24 characters ) default_node_index:title
files:attachments_content (String, 25 characters ) files:attachments_content
files:name (String, 10 characters ) files:name

so the function isset is false and the excerpt_parts value is always empty.

Can anyone help me to fix this problem?

This is my first Issue. And sry for my English.

🐛 Bug report
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

🇩🇪Germany antares89 Schwerin

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

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