[01:07:44] hi, on my wiki I installed Elastica and CirrusSearch and built the index, Elastica is running, the basic searching seems to be running but no regexes, when I try for example "insource: text", I get no results [01:08:02] any idea here? [02:24:44] hello world! [06:42:07] legoktm: thanks that worked :) I forgot that one [06:47:21] Blah15: insource:text (without spaces between insource: text). Note that this won't run regex, to run regexes you need to install the "search-extra" elasticsearch plugin (https://github.com/wikimedia/search-extra) and enable it on your wiki (see wgCirrusSearchWikimediaExtraPlugin in docs/settings.txt) [06:48:37] and the syntax is insource:/regex/ [06:50:47] but of course with Special:MyLanguage we face the problem that not all langs have the target pages translated... [06:51:45] oh nevermind, then it just directs to the English page [13:04:39] hi, does anyone know how to force "uncommited db writes" ? [14:31:01] loizbek: probably by forcing an exception after some writes have been done to the db. I think, under a normal execution, commit is done at the end of the request. In a particular scenario, those writes are in a transaction that hasn't been commited and the exception may never reach the commit code, resulting in this warning [14:34:17] Vulpix: Thanks for your reply, it seems I have solved my problem (without really understanding my solution, which seems inline with what you explain, except it is a lot less clear) [17:28:27] Hi, on my wiki I have installed Elastica, CirrusSearch and built the index. Basic searching works. But when I try searching using keywords such as insource: or intitle: or /regexes/ it doesn't work for those.. any idea what am I missing here? [17:31:45] blah15: if basic keywords do not work then CirrusSearch is probably not active, append '&cirrusDumpQuery' to your search results url, if it does not display some json data then cirrus is not activated [17:33:50] dcausse: seems like it, how do I active it? [17:34:37] blah15: see the README, it says setting: $wgSearchType = 'CirrusSearch'; [17:34:59] dcausse: thanks! [17:35:18] beware to create & populate the elasticsearch indices with the maintenance scripts [17:37:03] for the regexes (insource://) to work you'll have to install other plugins (https://github.com/wikimedia/search-extra) inside elasticsearch (see docs/settings.txt at wgCirrusSearchWikimediaExtraPlugin) [17:38:19] dcausse: thanks, when I try intitle: /a/ I get An error has occurred while searching: Query was not understood. Please make it simpler. The query was logged to improve the search system. [17:41:33] blah15: does intitle:word works? [17:42:06] if yes it's only a matter of installing the required dependencies to enable regex searches [17:42:43] dcausse: yes intitle:word works [17:43:45] so yes if you want regexes you'll to install the plugin, restart elastic, change the MW config with wgCirrusSearchWikimediaExtraPlugin and reindex all your wikis [17:44:23] dcausse: ok, I'll give it a try [17:44:26] dcausse: thanks [17:44:34] yw! [17:59:00] dcausse: when I tried sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install org.wikimedia.search:extra:x.y.z [17:59:10] dcausse: I got this errors:https://pastebin.com/vHXPgQ0t [17:59:52] blah15: you need to change x.y.z with the version you want to install (generally the version of elasticsearch you are running) [18:00:18] dcausse: ah :))) [18:20:23] dcausse: just one more question, I can't find any docs on the setting up the $wgCirrusSearchWikimediaExtraPlugin, it's not described in the mediawiki.org wiki or in MW/extensions/CirrusSearch/DOCS [18:21:03] dcausse: so generally speaking I have no idea how to set it up :) [18:21:05] https://github.com/wikimedia/mediawiki-extensions-CirrusSearch/blob/master/docs/settings.txt#L205 [18:21:20] thanks :) [18:21:49] Reedy: thanks :) [18:31:00] works finally :)) [19:41:31] What is this place ? [19:45:51] somewhere you need to wait more than 12 seconds for an answer [19:47:49] sometimes latency is a blessing :-P