Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P50
wmf config inherit settings
Archived
Public
Actions
Authored by
•
demon
on Oct 30 2014, 9:54 PM.
Edit Paste
Activate Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F575: wmf_config_inherit_settings
Oct 30 2014, 9:54 PM
2014-10-30 21:54:46 (UTC+0)
Subscribers
None
diff --git a/wmf-config/CirrusSearch-common.php b/wmf-config/CirrusSearch-common.php
index bcbc85c..81f6641 100644
--- a/wmf-config/CirrusSearch-common.php
+++ b/wmf-config/CirrusSearch-common.php
@@ -67,6 +67,7 @@ $wgCirrusSearchOptimizeIndexForExperimentalHighlighter = true;
# Settings customized per index.
$wgCirrusSearchShardCount = $wmgCirrusSearchShardCount;
+$wgCirrusSearchReplicas = $wmgCirrusSearchReplicas;
$wgCirrusSearchMaxShardsPerNode = $wmgCirrusSearchMaxShardsPerNode;
$wgCirrusSearchPreferRecentDefaultDecayPortion = $wmgCirrusSearchPreferRecentDefaultDecayPortion;
$wgCirrusSearchBoostLinks = $wmgCirrusSearchBoostLinks;
diff --git a/wmf-config/InitialiseSettings.php b/wmf-config/InitialiseSettings.php
index 3427790..d936740 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -14057,6 +14057,15 @@ $wgConf->settings = array(
'zhwikisource' => array( 'content' => 5, 'general' => 1 ),
),
+// Most wikis are fine with 0-2 replicas for all indexes
+// some of the larger ones will want more replicas for content indexes
+'wmgCirrusSearchReplicas' => array(
+ 'default' => array( 'content' => '0-2', 'general' => '0-2' ),
+ '+commonswiki' => array( 'file' => '0-3' ),
+ '+dewiki' => array( 'content' => '0-3' ),
+ '+enwiki' => array( 'content' => '0-3' ),
+),
+
'wmgCirrusSearchMaxShardsPerNode' => array(
'default' => array(),
'commonswiki' => array( 'file' => 1, 'general' => 2 ),
Event Timeline
•
demon
edited the content of this paste.
(Show Details)
Oct 30 2014, 9:54 PM
2014-10-30 21:54:46 (UTC+0)
•
demon
changed the title of this paste from untitled to
wmf config inherit settings
.
•
demon
updated the paste's language from
autodetect
to
diff
.
•
demon
archived this paste.
Aug 18 2016, 5:35 PM
2016-08-18 17:35:00 (UTC+0)
GoranSMilovanovic
mentioned this in
T219843: Pyspark/R procedures to process the copy of the WD Dump in the Data Lake
.
May 2 2019, 11:03 AM
2019-05-02 11:03:12 (UTC+0)
Pginer-WMF
mentioned this in
T221211: Parameters matching on Templates: ML Exploration
.
May 29 2019, 4:51 PM
2019-05-29 16:51:51 (UTC+0)
Daniel_Mietchen
mentioned this in
T233144: QuickStatements batch running in background stopped mid-way without user interference
.
Sep 19 2019, 9:40 PM
2019-09-19 21:40:25 (UTC+0)
Multichill
mentioned this in
T230569: General SDC data modelling session
.
Sep 29 2019, 4:39 PM
2019-09-29 16:39:47 (UTC+0)
Vojtech.dostal
mentioned this in
T264042: Query service returns weird Commons links when asking for P50 (author) statement value
.
Sep 28 2020, 7:53 PM
2020-09-28 19:53:28 (UTC+0)
•
AKhatun_WMF
mentioned this in
T282129: Test triple-analysis functions over a large dataset with Spark
.
May 19 2021, 11:15 AM
2021-05-19 11:15:46 (UTC+0)
Esc3300
mentioned this in
T281854: Get baseline measurements/expectations for splitting scholarly articles from Wikidata
.
Aug 8 2021, 10:20 AM
2021-08-08 10:20:19 (UTC+0)
Esc3300
mentioned this in
T287732: Allow filtering property searches by datatype
.
Sep 7 2021, 6:03 PM
2021-09-07 18:03:10 (UTC+0)
BTullis
mentioned this in
T294911: Apparent latency warning in 90th centile of eventgate-logging-external
.
Nov 3 2021, 3:56 PM
2021-11-03 15:56:32 (UTC+0)
awight
mentioned this in
T295363: Explore mapdata API log to estimate prevalence of maps and usage
.
Nov 12 2021, 2:03 PM
2021-11-12 14:03:32 (UTC+0)
PangolinMexico
mentioned this in
T311301: What's in a name? - AuthorBot: Process and Progress
.
Jun 24 2022, 11:25 AM
2022-06-24 11:25:33 (UTC+0)
elukey
mentioned this in
T376285: Timeout while retrieving the catalog from the Docker Registry
.
Oct 4 2024, 10:55 AM
2024-10-04 10:55:34 (UTC+0)
Log In to Comment