Closed (duplicate)
Project:
Search API attachments
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2018 at 08:24 UTC
Updated:
14 Oct 2019 at 08:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
George Bills commentedInitial patch attached, but it needs some more testing. It also might be nice to refactor out functions for the three paths in addFieldValues() - (1) indexing a file (2) indexing a file field and (3) indexing a media field - but I didn't want to touch too many lines in the diff. The media field path also loads the full file entity, only to store just the id, and then load the full file entity from that id again, but again I didn't want to touch too many lines in the diff.
Comment #3
George Bills commentedArg, just noticed 2896418. Probably better to use that one since it seems more general.
Comment #4
ericdsd commentedHi,
does some know if a similar solution exists for drupal 7, i mean to index files entity referenced bu media in a wysiwyg field ?