Problem/Motivation

Support indexing svg fields (svg_image_field). The SVG content can be "plain" text, so it should be indexable without processing, but currently these fields do not show up to be indexed.

This should also work with the https://www.drupal.org/project/svg_image as alternative.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Problem/Motivation

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

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

anybody created an issue. See original summary.

anybody’s picture

Status: Active » Needs review

Here we go, please review. I'm testing this in our projects right now.

anybody’s picture

Issue summary: View changes
anybody’s picture

As we now also cover image fields, this also covers https://www.drupal.org/project/svg_image!

anybody’s picture

Success! 🎉

WITHOUT the MR
svg file fields were NOT available as fields to be indexed and no svg contents were returned in search results

WITH the MR
svg file fields are available as fields to be indexed and svg contents are found when searching for words from the svg content. Futhermore other image fields (for svg_image) are available as fields to index.

Ready for review!

anybody’s picture

Title: Support indexing svg fields (svg_image_field) » Support indexing svg field contents (svg_image_field & svg_image)

  • izus committed 13b7ec2e on 10.0.x authored by anybody
    feat: #3635301 Support indexing svg fields (svg_image_field)
    
izus’s picture

Status: Needs review » Fixed

Thanks for this contribution
it is now merged and released https://www.drupal.org/project/search_api_attachments/releases/10.0.17

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

anybody’s picture

Whao, thank you @izus - that was fast!!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.