PluginProbe
ElasticPress / 5.3.5
ElasticPress v5.3.5
5.3.5 5.3.4 3.6.5 3.6.6 4.0.0 4.0.1 4.1.0 4.2.0 4.2.1 4.2.2 4.3.0 4.3.1 4.4.0 4.4.1 4.5.0 4.5.1 4.5.2 4.6.0 4.6.1 4.7.0 4.7.1 4.7.2 5.0.0 5.0.1 5.0.2 All 108 releases
← All changes | includes/mappings/comment/initial.php +15 -1 4.7.05.3.5 View file →
@@ -47,12 +47,22 @@
47 47 'analysis' => [
48 48 'analyzer' => [
49 49 'default' => [
50 50 'tokenizer' => 'standard',
51 - 'filter' => [ 'standard', 'ewp_word_delimiter', 'lowercase', 'ep_stop', 'ewp_snowball' ],
52 51 /* This filter is documented in includes/mappings/post/7-0.php */
52 + 'filter' => apply_filters( 'ep_default_analyzer_filters', [ 'standard', 'ewp_word_delimiter', 'lowercase', 'ep_stop', 'ewp_snowball', 'ep_asciifolding' ] ),
53 + /* This filter is documented in includes/mappings/post/7-0.php */
53 54 'language' => apply_filters( 'ep_analyzer_language', 'english', 'analyzer_default' ),
54 55 ],
56 + 'default_search' => [
57 + 'tokenizer' => 'standard',
58 + /* This filter is documented in includes/mappings/post/7-0.php */
59 + 'filter' => apply_filters( 'ep_default_search_analyzer_filters', [ 'lowercase', 'ep_stop', 'ewp_snowball', 'ep_asciifolding' ] ),
60 + /* This filter is documented in includes/mappings/post/7-0.php */
61 + 'char_filter' => apply_filters( 'ep_default_search_analyzer_char_filters', [ 'html_strip' ] ),
62 + /* This filter is documented above */
63 + 'language' => apply_filters( 'ep_analyzer_language', 'english', 'analyzer_default' ),
64 + ],
55 65 'shingle_analyzer' => [
56 66 'type' => 'custom',
57 67 'tokenizer' => 'standard',
58 68 'filter' => [ 'lowercase', 'shingle_filter' ],
@@ -88,8 +98,12 @@
88 98 'type' => 'stop',
89 99 'ignore_case' => true,
90 100 /* This filter is documented in includes/mappings/post/7-0.php */
91 101 'stopwords' => apply_filters( 'ep_analyzer_language', 'english', 'filter_ep_stop' ),
102 + ],
103 + 'ep_asciifolding' => [
104 + 'type' => 'asciifolding',
105 + 'preserve_original' => true,
92 106 ],
93 107 ],
94 108 'normalizer' => [
95 109 'lowerasciinormalizer' => [