Skip to content

Commit

Permalink
Sync with 10up#2872 (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccahum authored Jun 30, 2022
1 parent 81f0c4a commit 2302acc
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion includes/mappings/post/7-0.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,15 @@
* @return {array<string>} New filters
*/
'filter' => apply_filters( 'ep_default_analyzer_filters', array( 'ewp_word_delimiter', 'lowercase', 'stop', 'ewp_snowball' ) ),
'char_filter' => array( 'html_strip' ),
/**
* Filter Elasticsearch default analyzer's char_filter
*
* @since 4.3.0
* @hook ep_default_analyzer_char_filters
* @param {array<string>} $char_filters Default filter
* @return {array<string>} New filters
*/
'char_filter' => apply_filters( 'ep_default_analyzer_char_filters', array( 'html_strip' ) ),
/**
* Filter Elasticsearch default language in mapping
*
Expand Down

0 comments on commit 2302acc

Please sign in to comment.