Problem/Motivation

The schema files provide an entry to use "Omit norms" on text fields by using the to prefix.

    <!-- These text fields omit norms - useful for extracted text like taxonomy_names -->
    <dynamicField name="tos_*" type="text"    indexed="true"  stored="true" multiValued="false" termVectors="true" omitNorms="true"/>
    <dynamicField name="tom_*" type="text"    indexed="true"  stored="true" multiValued="true" termVectors="true" omitNorms="true"/>

However there isn't a datatype to actually expose fields to use this prefix.

Proposed resolution

Add a new SearchApiDataType to add this prefix.

Remaining tasks

User interface changes

API changes

Data model changes

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Erik Frèrejean created an issue. See original summary.

Erik Frèrejean’s picture

Assigned: Erik Frèrejean » Unassigned
Status: Active » Needs review
FileSize
1.32 KB
mkalkbrenner’s picture

Looks good!
After commit to 8.x-1.x we need to "port" the patch to 8.x-2.x. Therefore we have to extend the patch to add a multilingual treatment of the to* fields.

mkalkbrenner’s picture

Version: 8.x-1.x-dev » 8.x-2.x-dev
Status: Needs review » Patch (to be ported)

The views mapping was missing. I fixed that on commit. Thanks!
Now 8.x-2.x ...

mkalkbrenner’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

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