<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.antiperfect.org/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ASearchEngine</id>
	<title>MediaWiki:SearchEngine - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.antiperfect.org/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ASearchEngine"/>
	<link rel="alternate" type="text/html" href="https://wiki.antiperfect.org/index.php?title=MediaWiki:SearchEngine&amp;action=history"/>
	<updated>2026-10-18T03:51:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.antiperfect.org/index.php?title=MediaWiki:SearchEngine&amp;diff=1564&amp;oldid=prev</id>
		<title>Hdridder: Hdridder moved page SearchEngine to MediaWiki:SearchEngine without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://wiki.antiperfect.org/index.php?title=MediaWiki:SearchEngine&amp;diff=1564&amp;oldid=prev"/>
		<updated>2025-02-03T21:28:56Z</updated>

		<summary type="html">&lt;p&gt;Hdridder moved page &lt;a href=&quot;/index.php?title=SearchEngine&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;SearchEngine (page does not exist)&quot;&gt;SearchEngine&lt;/a&gt; to &lt;a href=&quot;/index.php?title=MediaWiki:SearchEngine&quot; title=&quot;MediaWiki:SearchEngine&quot;&gt;MediaWiki:SearchEngine&lt;/a&gt; without leaving a redirect&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:28, 3 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wiki-i3a:diff:1.41:old-1563:rev-1564 --&gt;
&lt;/table&gt;</summary>
		<author><name>Hdridder</name></author>
	</entry>
	<entry>
		<id>https://wiki.antiperfect.org/index.php?title=MediaWiki:SearchEngine&amp;diff=1563&amp;oldid=prev</id>
		<title>Hdridder: Hdridder moved page MediaWiki:SearchEngine to SearchEngine without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://wiki.antiperfect.org/index.php?title=MediaWiki:SearchEngine&amp;diff=1563&amp;oldid=prev"/>
		<updated>2025-02-03T21:28:32Z</updated>

		<summary type="html">&lt;p&gt;Hdridder moved page &lt;a href=&quot;/index.php?title=MediaWiki:SearchEngine&quot; title=&quot;MediaWiki:SearchEngine&quot;&gt;MediaWiki:SearchEngine&lt;/a&gt; to &lt;a href=&quot;/index.php?title=SearchEngine&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;SearchEngine (page does not exist)&quot;&gt;SearchEngine&lt;/a&gt; without leaving a redirect&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:28, 3 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wiki-i3a:diff:1.41:old-1562:rev-1563 --&gt;
&lt;/table&gt;</summary>
		<author><name>Hdridder</name></author>
	</entry>
	<entry>
		<id>https://wiki.antiperfect.org/index.php?title=MediaWiki:SearchEngine&amp;diff=1562&amp;oldid=prev</id>
		<title>Hdridder: Hdridder moved page SearchEngine to MediaWiki:SearchEngine without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://wiki.antiperfect.org/index.php?title=MediaWiki:SearchEngine&amp;diff=1562&amp;oldid=prev"/>
		<updated>2025-02-03T21:27:57Z</updated>

		<summary type="html">&lt;p&gt;Hdridder moved page &lt;a href=&quot;/index.php?title=SearchEngine&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;SearchEngine (page does not exist)&quot;&gt;SearchEngine&lt;/a&gt; to &lt;a href=&quot;/index.php?title=MediaWiki:SearchEngine&quot; title=&quot;MediaWiki:SearchEngine&quot;&gt;MediaWiki:SearchEngine&lt;/a&gt; without leaving a redirect&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:27, 3 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wiki-i3a:diff:1.41:old-1561:rev-1562 --&gt;
&lt;/table&gt;</summary>
		<author><name>Hdridder</name></author>
	</entry>
	<entry>
		<id>https://wiki.antiperfect.org/index.php?title=MediaWiki:SearchEngine&amp;diff=1561&amp;oldid=prev</id>
		<title>Hdridder: Hdridder moved page MediaWiki:SearchEngine to SearchEngine without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://wiki.antiperfect.org/index.php?title=MediaWiki:SearchEngine&amp;diff=1561&amp;oldid=prev"/>
		<updated>2025-02-03T21:27:35Z</updated>

		<summary type="html">&lt;p&gt;Hdridder moved page &lt;a href=&quot;/index.php?title=MediaWiki:SearchEngine&quot; title=&quot;MediaWiki:SearchEngine&quot;&gt;MediaWiki:SearchEngine&lt;/a&gt; to &lt;a href=&quot;/index.php?title=SearchEngine&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;SearchEngine (page does not exist)&quot;&gt;SearchEngine&lt;/a&gt; without leaving a redirect&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:27, 3 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wiki-i3a:diff:1.41:old-1557:rev-1561 --&gt;
&lt;/table&gt;</summary>
		<author><name>Hdridder</name></author>
	</entry>
	<entry>
		<id>https://wiki.antiperfect.org/index.php?title=MediaWiki:SearchEngine&amp;diff=1557&amp;oldid=prev</id>
		<title>Hdridder at 21:20, 3 February 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.antiperfect.org/index.php?title=MediaWiki:SearchEngine&amp;diff=1557&amp;oldid=prev"/>
		<updated>2025-02-03T21:20:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:20, 3 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:MediaWiki]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;CirrusSearch is a search extension that supports more complex search phrases. It uses ElasticSearch to store data.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;CirrusSearch is a search extension that supports more complex search phrases. It uses ElasticSearch to store data.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki-i3a:diff:1.41:old-1556:rev-1557:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Hdridder</name></author>
	</entry>
	<entry>
		<id>https://wiki.antiperfect.org/index.php?title=MediaWiki:SearchEngine&amp;diff=1556&amp;oldid=prev</id>
		<title>Hdridder: Created page with &quot;CirrusSearch is a search extension that supports more complex search phrases. It uses ElasticSearch to store data.  =ElasticSearch Install= For installation on mediawiki 1.35: * Install java8 and [https://www.elastic.co/guide/en/elasticsearch/reference/6.8/getting-started-install.html#successfully-running-node elasticsearch 6.8.23] ** &lt;code&gt;apt-get install openjdk-8-jre-headless&lt;/code&gt; ** &lt;code&gt;echo &quot;deb https://artifacts.elastic.co/packages/6.x/apt stable main&quot; | sudo t...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.antiperfect.org/index.php?title=MediaWiki:SearchEngine&amp;diff=1556&amp;oldid=prev"/>
		<updated>2025-02-03T21:16:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;CirrusSearch is a search extension that supports more complex search phrases. It uses ElasticSearch to store data.  =ElasticSearch Install= For installation on mediawiki 1.35: * Install java8 and [https://www.elastic.co/guide/en/elasticsearch/reference/6.8/getting-started-install.html#successfully-running-node elasticsearch 6.8.23] ** &amp;lt;code&amp;gt;apt-get install openjdk-8-jre-headless&amp;lt;/code&amp;gt; ** &amp;lt;code&amp;gt;echo &amp;quot;deb https://artifacts.elastic.co/packages/6.x/apt stable main&amp;quot; | sudo t...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;CirrusSearch is a search extension that supports more complex search phrases. It uses ElasticSearch to store data.&lt;br /&gt;
&lt;br /&gt;
=ElasticSearch Install=&lt;br /&gt;
For installation on mediawiki 1.35:&lt;br /&gt;
* Install java8 and [https://www.elastic.co/guide/en/elasticsearch/reference/6.8/getting-started-install.html#successfully-running-node elasticsearch 6.8.23]&lt;br /&gt;
** &amp;lt;code&amp;gt;apt-get install openjdk-8-jre-headless&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;echo &amp;quot;deb https://artifacts.elastic.co/packages/6.x/apt stable main&amp;quot; | sudo tee -a /etc/apt/sources.list.d/elastic-6.x.list&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;sudo apt-get update &amp;amp;&amp;amp; sudo apt-get install elasticsearch&amp;lt;/code&amp;gt;&lt;br /&gt;
* Install the Elastica and CirrusSearch (use the same version as your MediaWiki version) extensions [https://www.mediawiki.org/wiki/Extension:CirrusSearch]&lt;br /&gt;
* Follow instructions in ./extentions/CirrusSearch/README&lt;br /&gt;
&lt;br /&gt;
=MediaWiki LocalSettings=&lt;br /&gt;
** Add this to LocalSettings.php&lt;br /&gt;
 wfLoadExtension( &amp;#039;Elastica&amp;#039; );&lt;br /&gt;
 wfLoadExtension( &amp;#039;CirrusSearch&amp;#039; );&lt;br /&gt;
 $wgDisableSearchUpdate = true;&lt;br /&gt;
:*&amp;lt;code&amp;gt;php7.4 ./extensions/CirrusSearch/maintenance/UpdateSearchIndexConfig.php&amp;lt;/code&amp;gt;&lt;br /&gt;
:*Remove &amp;lt;code&amp;gt;$wgDisableSearchUpdate = true&amp;lt;/code&amp;gt; from LocalSettings.php&lt;br /&gt;
:*&amp;lt;code&amp;gt;php7.4 ./extensions/CirrusSearch/maintenance/ForceSearchIndex.php --skipLinks --indexOnSkip&amp;lt;/code&amp;gt;&lt;br /&gt;
:*&amp;lt;code&amp;gt;php7.4 ./extensions/CirrusSearch/maintenance/ForceSearchIndex.php --skipParse&amp;lt;/code&amp;gt;&lt;br /&gt;
:*Edit LocalSettings.php to have &amp;lt;code&amp;gt;$wgSearchType = &amp;#039;CirrusSearch&amp;#039;;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check [[Special:Version]] to see if all is installed&lt;br /&gt;
&lt;br /&gt;
To verify CirrusSearch is used add &amp;#039;&amp;amp;cirrusDumpQuery&amp;#039; to a search URL. A json-string will be shown.&lt;br /&gt;
&lt;br /&gt;
=ElastichSearch Tips=&lt;br /&gt;
&lt;br /&gt;
==Remote ElasticSearch server==&lt;br /&gt;
If ElasticSearch is on another server as the webserver you have to edit /etc/elasticsearch/elasticsearch.yml to listen to the outside address&lt;br /&gt;
 network.host: &amp;lt;outside IP address&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Start/Stop script==&lt;br /&gt;
For automatic start/stop I created /etc/init.d/elasticsearch like&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
# kFreeBSD do not accept scripts as interpreters, using #!/bin/sh and sourcing.&lt;br /&gt;
if [ true != &amp;quot;$INIT_D_SCRIPT_SOURCED&amp;quot; ] ; then&lt;br /&gt;
    set &amp;quot;$0&amp;quot; &amp;quot;$@&amp;quot;; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script&lt;br /&gt;
fi&lt;br /&gt;
### BEGIN INIT INFO&lt;br /&gt;
# Provides:          elasticsearch&lt;br /&gt;
# Required-Start:    $remote_fs $syslog&lt;br /&gt;
# Required-Stop:     $remote_fs $syslog&lt;br /&gt;
# Default-Start:     2 3 4 5&lt;br /&gt;
# Default-Stop:      0 1 6&lt;br /&gt;
# Short-Description: Start ElastichSearch deamon&lt;br /&gt;
# Description:       Start ElastichSearch deamon&lt;br /&gt;
#                    This script starts a&lt;br /&gt;
#                    single forking daemon capable of writing a pid&lt;br /&gt;
#                    file.  &lt;br /&gt;
### END INIT INFO&lt;br /&gt;
&lt;br /&gt;
# Author: Hans de Ridder &amp;lt;hans@deridder.it&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
if [ `id -nu` != &amp;#039;elasticsearch&amp;#039; ]&lt;br /&gt;
then&lt;br /&gt;
 su elasticsearch $0 $*&lt;br /&gt;
 exit&lt;br /&gt;
fi &lt;br /&gt;
&lt;br /&gt;
DESC=&amp;quot;ElasticSearch engine&amp;quot;&lt;br /&gt;
DAEMON=&amp;quot;/opt/elasticsearch/bin/elasticsearch&amp;quot;&lt;br /&gt;
DAEMON_ARGS=&amp;quot;-d&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can start by &amp;lt;code&amp;gt;service elasticsearch start&amp;lt;/code&amp;gt;. Stopping is not implemented in this script.&lt;br /&gt;
&lt;br /&gt;
In /etc/rc5.d do &amp;lt;code&amp;gt;ln -s ../init.d/elasticsearch S02elasticsearch&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
;curl  &amp;lt;nowiki&amp;gt;http://localhost:9200/_aliases?pretty=true&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
:List the indexes in elasticsearch&lt;br /&gt;
;curl -XDELETE &amp;lt;nowiki&amp;gt;http://localhost:9200/&amp;lt;indexname&amp;gt;*/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
:Remove all indexes where name starts with &amp;lt;indexname&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hdridder</name></author>
	</entry>
</feed>