[00:06:39] MatmaRex: Hmm, I had not considered the equals sign at the end of that regex. I guess that's what makes it work. I'll see tomorrow if Nginx can do something similar. For now gotta go, thank you for the help! [18:38:45] Hi Folks, I'm trying to configure CirrusSearch for a MediaWiki instance. I believe I have everything setup correctly but I think it is using the default MySQL search instead. Does anyone have experience with CirrusSearch that would be willing to help me figure out why it isn't using CirrusSearch? [19:26:46] davem: you need to follow all of these instructions too: https://gerrit.wikimedia.org/g/mediawiki/extensions/CirrusSearch/%2B/HEAD/README [19:30:04] Hi moonmoon, I believe I've followed all the instructions. e.g., in LocalSettings.php I have something like [19:30:04] $wgCirrusSearchServers = [ [19:30:05]   'transport' => 'Http', [19:30:05]   'host' => 'elasticsearch01', [19:30:06]   'port' => 9200 [19:30:06] ]; [19:30:07] $wgSearchType = 'CirrusSearch'; [19:30:07] wfLoadExtension('Elastica'); [19:30:08] wfLoadExtension('CirrusSearch'); [19:30:08] And I've run the various scripts referenced in the readme you linked to. [19:30:11] (and those scripts run successfully) [19:42:59] davem: other way around [19:43:03] wfLoadExtension needs to go *first* [19:43:29] (sometimes it doesn't matter, oftentimes it does) [19:45:04] oh [19:45:16] although the main issue is your $wgCirrusSearchServers is incorrect [19:45:46] if you're doing a complex/object form, it'll need to be a nested array, i.e. $wgCirrusSearchServers = [ [ server 1 details ], [ server 2 details ], ... ] [19:46:28] the 'transport' should additionally be all-lowercase (or omitted) [19:46:44] i.e. 'http' instead of 'Http' [19:50:12] I swapped them around and updated $wgCirrusSearchServers: [19:50:13] $wgCirrusSearchServers = [ [19:50:13]  [ [19:50:14]   'transport' => 'http', [19:50:14]   'host' => 'elasticsearch01', [19:50:15]   'port' => 9200 [19:50:15]  ] [19:50:16] ]; [19:52:24] Still no dice. I can turn off elasticsearch01 and am still able to make queries (which I assume is b/c it is using the internal mysql engine?) [20:07:27] hmm [20:11:24] try doing a special query that mysql can't handle, like "insource:foo" (where foo is some template name you use) to find pages where {{foo}} is used [20:11:51] I get back "There were no results matching the query. [20:11:51] Create the page "Insource:foo" on this wiki!" [20:12:32] ok yeah that's using mysql. is that with elasticsearch01 turned on or off? [20:12:42] well [20:12:48] assuming you did the substitution I asked [20:14:22] with the ES server turned *on*, go to Special:Version and check that a) Elasticsearch shows up under "Installed software" and b) that CirrusSearch shows up under "Installed extensions" [20:14:28] It was with it on, but I'll turn it off and run it again [20:15:28] I get the same response with it off [20:17:00] I've got to run at the moment, but I really appreciate the help. I'll dive into this more later and hopefully figure it out. Thanks!