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/classes/StatusReport/Indices.php +17 -2 4.6.05.3.5 View file →
@@ -21,9 +21,9 @@
21 21 * Return the report title
22 22 *
23 23 * @return string
24 24 */
25 - public function get_title() : string {
25 + public function get_title(): string {
26 26 return __( 'Elasticsearch Indices', 'elasticpress' );
27 27 }
28 28
29 29 /**
@@ -30,9 +30,9 @@
30 30 * Return the report fields
31 31 *
32 32 * @return array
33 33 */
34 - public function get_groups() : array {
34 + public function get_groups(): array {
35 35 $elasticsearch = \ElasticPress\Elasticsearch::factory();
36 36
37 37 $should_have_indices = $elasticsearch->get_index_names();
38 38 $indices_in_es = $elasticsearch->get_cluster_indices();
@@ -76,8 +76,23 @@
76 76
77 77 $fields['total_fields_limit'] = [
78 78 'label' => 'total_fields_limit',
79 79 'value' => $elasticsearch->get_index_total_fields_limit( $index['index'] ),
80 + ];
81 +
82 + $fields['analyzer_language'] = [
83 + 'label' => 'analyzer_language',
84 + 'value' => $elasticsearch->get_index_setting( $index['index'], 'index.analysis.analyzer.default.language' ),
85 + ];
86 +
87 + $fields['stop_language'] = [
88 + 'label' => 'stop_language',
89 + 'value' => $elasticsearch->get_index_setting( $index['index'], 'index.analysis.filter.ep_stop.stopwords' ),
90 + ];
91 +
92 + $fields['snowball_language'] = [
93 + 'label' => 'snowball_language',
94 + 'value' => $elasticsearch->get_index_setting( $index['index'], 'index.analysis.filter.ewp_snowball.language' ),
80 95 ];
81 96
82 97 $groups[] = [
83 98 'title' => $index['index'],