#################################################################### ### THIS FILE IS MANAGED BY PUPPET ### ### puppet:///templates/search/lsearch-global-2.1.conf.eqiad.erb ### #################################################################### # Logical structure, maps different roles to certain db [Database] {file:///a/search/conf/all-labs.dblist} : (single,true,20,1000) (prefix) (spell,10,3) [Database-Group] : (titles_by_suffix,2) (tspart1,[ wiki|w ]) (tspart2,[ wiktionary|wikt, wikibooks|b, wikinews|n, wikiquote|q, wikisource|s, wikiversity|v]) sv-titles: (titles_by_suffix,2) (tspart1,[ svwiki|w ]) (tspart2,[ svwiktionary|wikt, svwikibooks|b, svwikinews|n, svwikiquote|q, svwikisource|src]) mw-titles: (titles_by_suffix,1) (tspart1, [ mediawikiwiki|mw, metawiki|meta ]) # Search hosts layout [Search-Group] # search poolbeta 10.4.1.81: * # Indexers [Index] 10.4.0.56: * # Rsync path where indexes are on hosts, after default value put # hosts where the location differs # Syntax: host : [Index-Path] : /search [Namespace-Boost] commonswiki : (0, 1) (6, 4) : (0, 1) (1, 0.0005) (2, 0.005) (3, 0.001) (4, 0.01), (6, 0.02), (8, 0.005), (10, 0.0005), (12, 0.01), (14, 0.02) # Global properies [Properties] # suffixes to database name, the rest is assumed to be language code Database.suffix=wiki wiktionary wikiquote wikibooks wikisource wikinews wikiversity wikimedia wikivoyage # Allow only up to 500 results per page Search.maxlimit=501 # Age scaling based on last edit, default is no scaling # Below are suffixes (or whole names) with various scaling strength AgeScaling.strong=wikinews AgeScaling.medium=mediawikiwiki metawiki #AgeScaling.weak=wiki # Use additional per-article ranking data, more suitable for non-encyclopedias AdditionalRank.suffix=mediawikiwiki metawiki # suffix for databases that should also have exact-case index built # note: this will also turn off stemming! ExactCase.suffix=wiktionary jbowiki # wmf-style init file, attempt to read OAI and lang info from it # for sample see http://noc.wikimedia.org/conf/InitialiseSettings.php.html WMF.InitialiseSettings=file:///a/search/conf/mw-beta-context.php # Where common images are Commons.wiki=commonswiki.nspart1 # Set a high RMI read timeout to avoid breaking indexing Search.rmiReadTimeout=7200 # Syntax: : # is a special keyword meaning all namespaces # E.g. all_talk : 1,3,5,7,9,11,13,15 [Namespace-Prefix] all : [0] : 0 [1] : 1 [2] : 2 [3] : 3 [4] : 4 [5] : 5 [6] : 6 [7] : 7 [8] : 8 [9] : 9 [10] : 10 [11] : 11 [12] : 12 [13] : 13 [14] : 14 [15] : 15 [100] : 100 [101] : 101 [104] : 104 [105] : 105 [106] : 106 [0,6,12,14,100,106]: 0,6,12,14,100,106 [0,100,104] : 0,100,104 [0,2,4,12,14] : 0,2,4,12,14 [0,14] : 0,14 [4,12] : 4,12