Problem/Motivation

Sometimes instead of storing things like PDFs with the Drupal server people might want to store them in an external CDN and then add them to nodes as a link field.

It would be nice if this module could also fetch that file from a link field and index its content.

It looks like the 7.x version of this module did have this functionality as a sub module (https://www.drupal.org/project/search_api_attachments/issues/2955610). Maybe that code could be adapted for modern Drupal?

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

fraserthompson created an issue. See original summary.

izus’s picture

Hi,
sure it'll be a good move to have this in.
if someone already is working on this, please provide a patch or MR to review

fraserthompson’s picture

I've added support for links. It meant changing a few of the API interfaces (plugins now have an extractLinks method and can declare support via an annotation for example). Not sure if this is the preferred method, and it probably still needs tests, but it's a start.

fraserthompson’s picture

Status: Active » Needs review