Support any entity type with file fields

Created on 10 May 2019, over 5 years ago
Updated 25 September 2023, about 1 year ago

Based on https://www.drupal.org/project/search_api_elasticsearch_attachments/issu... β†’ , which is an issue for 8.x-1.x.

At the moment, only fields on entity type 'node' are supported.
This is the case because of the elseif check $entity_type == 'node' in the ElasticsearchAttachments class.
I think we can just remove that check and the logic should still work for other entities.

✨ Feature request
Status

Needs work

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium robindh

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.

  • πŸ‡³πŸ‡±Netherlands tvoesenek

    Reroll of #12 against 8.x-7.x-dev branch

  • πŸ‡ΊπŸ‡ΈUnited States bburg Washington D.C.

    Patch in 15 does not apply cleanly to the 7.x-alpha1 release. and I'm having trouble finding a commit where it does apply. There seems to have been a good deal of changes made to ElasticsearchAttachments.php, and just based on some of the code, there could be some overlap from this issue. Maybe a maintainer can confirm if anything on this was previously committed?

Production build 0.71.5 2024