https://bugzilla.wikimedia.org/show_bug.cgi?id=64006

            Bug ID: 64006
           Summary: Cleanup Lucene config for MediaWiki
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

# Better make sure the global setting is enabled
$wgUseLuceneSearch = true;
if ( $wgUseLuceneSearch ) {
    wfProfileIn( "$fname-lucene" );
    include( "$wmfConfigDir/lucene-common.php" );
    wfProfileOut( "$fname-lucene" );
}


Lucene config shouldn't be loaded for all wikis. Ideally varying on
noncirrus.dblist


lucene-labs.php is also useless, pointing at Tampa IPs (and no Lucene servers
setup in EQIAD for labs). Removing it, without a plain lucene.php might cause
errors (I can't remember how nicely it falls back). But as per above, we
shouldn't be loading this code and MWSearch etc anyway where not used etc

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to