Manybubbles has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/86862


Change subject: Enable CirrusSearch extra splitting for mw.org.
......................................................................

Enable CirrusSearch extra splitting for mw.org.

This splits words in a number of programmer friendly ways like camelCase,
snake_case, and PascalCase.

Change-Id: I7bb6793ba581ea0dd7d40f1f51adfe97e8f34968
---
M wmf-config/CirrusSearch-common.php
M wmf-config/InitialiseSettings.php
2 files changed, 9 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/62/86862/1

diff --git a/wmf-config/CirrusSearch-common.php 
b/wmf-config/CirrusSearch-common.php
index 0b93555..09d6b00 100644
--- a/wmf-config/CirrusSearch-common.php
+++ b/wmf-config/CirrusSearch-common.php
@@ -39,6 +39,8 @@
        );
 }
 
+$wgCirrusSearchUseAggressiveSplitting = $wmgUseCirrusAggressiveSplitting;
+
 # Load per realm specific configuration, either:
 # - CirrusSearch-labs.php
 # - CirrusSearch-production.php
diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index de3764f..e36a6bd 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -12637,6 +12637,13 @@
        'enwikisource' => true,
 ),
 
+// Note that changing this on any supported (English) wiki requires an in place
+// reindex of that wiki to take effect.
+'wmgUseCirrusAggressiveSplitting' => array(
+       'default' => false,
+       'mediawikiwiki' => true,
+),
+
 ### End (roughly) of general extensions ########################
 
 // Apply blocks to IPs in XFF (bug 23343)

-- 
To view, visit https://gerrit.wikimedia.org/r/86862
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7bb6793ba581ea0dd7d40f1f51adfe97e8f34968
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Manybubbles <never...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to