Problem/Motivation

The Search API integration added in #2901039 sets the tags to use the "string" data type. This means that meta tags added to an index won't be searchable as expected, not until the meta tags are changed to the "fulltext".

Proposed resolution

Make meta tags added to Search API use the "fulltext" data type by default.

Remaining tasks

Work out how to do this.
Do this.

User interface changes

When adding meta tags to a Search API index the default data type will be "fulltext" instead of "string".

API changes

TBD

Data model changes

n/a

Comments

DamienMcKenna created an issue. See original summary.

damienmckenna’s picture

liquidcms’s picture

Is this the reason that even though Metatag is supposed to have Search API support, when i try to add my metatag field to search index i see this:

The following fields cannot be indexed since there is no type mapping for them:

    Metatags (Hidden field for JSON support) (type "field_item:map")
    Metadata (type "metatag")
    Meta Tags (type "metatag")
liquidcms’s picture

Ah.. my bad.. i thought this was added a long time ago; but i see only in latest release (1.22) and i was 1 behind.

damienmckenna’s picture

@liquidcms: Please open a new issue for that.