I’m having trouble using the elasticsearch_indexer_map_field filter packaged with Fantastic Elasticsearch plugin. Docs found here

I tried:

function FESmapping_edit($mapping, $field){
    $mapping['market'] = "not_analyzed";
    return $mapping;
}
add_filter('elasticsearch_indexer_map_field', 'FESmapping_edit', 10, 2);

and reran the indexer. No mapping was altered. Anyone have any experience using this?

Read more here: Fantastic Elasticsearch: Filter to modify mapping


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , ,

Wordpress related questions and answers: