<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=Azuresearch</id>
	<title>Azuresearch - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=Azuresearch"/>
	<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Azuresearch&amp;action=history"/>
	<updated>2026-05-07T01:10:54Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=Azuresearch&amp;diff=2043&amp;oldid=prev</id>
		<title>Олег Давидович: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Azuresearch&amp;diff=2043&amp;oldid=prev"/>
		<updated>2024-10-18T06:31:01Z</updated>

		<summary type="html">&lt;p&gt;1 версия импортирована&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 06:31, 18 октября 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Олег Давидович</name></author>
	</entry>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=Azuresearch&amp;diff=2042&amp;oldid=prev</id>
		<title>1&gt;Tim@horizoneducationnetwork.org: clean up, typos fixed: Seting → Setting</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Azuresearch&amp;diff=2042&amp;oldid=prev"/>
		<updated>2021-09-22T15:02:03Z</updated>

		<summary type="html">&lt;p&gt;clean up, typos fixed: Seting → Setting&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type =Search engines, Elasticsearch &lt;br /&gt;
|entry = https://moodle.org/plugins/search_elastic&lt;br /&gt;
|tracker = https://github.com/catalyst/moodle-search_elastic/issues&lt;br /&gt;
|discussion = &lt;br /&gt;
|maintainer = [[Matt Porritt]]&lt;br /&gt;
|float = right&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Moodle Global Search - Azure Search Backend== &lt;br /&gt;
&lt;br /&gt;
This plugin allows Moodle to use Microsoft Azure Search as the search engine for Moodle&amp;#039;s Global Search.&lt;br /&gt;
&lt;br /&gt;
The following features are provided by this plugin:&lt;br /&gt;
&lt;br /&gt;
* File indexing&lt;br /&gt;
* Respects Moodle Proxy settings&lt;br /&gt;
&lt;br /&gt;
=== Supported Moodle Versions ===&lt;br /&gt;
&lt;br /&gt;
This plugin currently supports Moodle:&lt;br /&gt;
&lt;br /&gt;
* 3.1&lt;br /&gt;
* 3.2&lt;br /&gt;
* 3.3&lt;br /&gt;
* 3.4&lt;br /&gt;
&lt;br /&gt;
=== Azure Search Service Setup ===&lt;br /&gt;
==== Service Setup ==== &lt;br /&gt;
&lt;br /&gt;
To setup an Azure Search Service (and optionally a Microsoft Azure account), follow the instructions at:&lt;br /&gt;
https://docs.microsoft.com/en-au/azure/search/search-create-service-portal&lt;br /&gt;
&lt;br /&gt;
==== Get API Credentials ====&lt;br /&gt;
&lt;br /&gt;
Calls to the Azure Search service require the service URL and an access key on every request. A search service is created with both, so if you added Azure Search to your subscription, follow these steps to get the necessary information:&lt;br /&gt;
&lt;br /&gt;
# In the Azure portal, open the search service page from the dashboard or find your service in the service list.&lt;br /&gt;
# Get the endpoint at&amp;#039;&amp;#039; Overview &amp;gt; Essentials &amp;gt; Url&amp;#039;&amp;#039;. An example endpoint might look like https://my-service-name.search.windows.net.&lt;br /&gt;
# Get the api-key in &amp;#039;&amp;#039;Settings &amp;gt; Keys&amp;#039;&amp;#039;. There are two admin keys for redundancy in case you want to roll over keys. Admin keys grant the write permissions on your service, necessary for creating and loading indexes. You can use either the primary or secondary key for write operations.&lt;br /&gt;
&lt;br /&gt;
==== Moodle Plugin Installation ====&lt;br /&gt;
&lt;br /&gt;
Once you have setup an Azure Search service you can now install the Moodle plugin.&lt;br /&gt;
===== Command Line Installation =====&lt;br /&gt;
&lt;br /&gt;
To install the plugin in Moodle via the command line:&lt;br /&gt;
&lt;br /&gt;
# Get the code from GitHub or the Moodle Plugin Directory.&lt;br /&gt;
# Copy or clone code into: &amp;lt;code&amp;gt; &amp;lt;moodledir&amp;gt;/search/engine/azure&amp;lt;/code&amp;gt;&lt;br /&gt;
# Run the upgrade: &amp;lt;code&amp;gt; sudo -u www-data php admin/cli/upgrade &amp;lt;/code&amp;gt; Note: the user may be different to www-data on your system.&lt;br /&gt;
&lt;br /&gt;
===== User Interface Installation =====&lt;br /&gt;
&lt;br /&gt;
To install the plugin in Moodle via the Moodle User Interface:&lt;br /&gt;
&lt;br /&gt;
# Log into your Moodle as an Administrator.&lt;br /&gt;
# Navigate to: Site administration &amp;gt; Plugins &amp;gt; Install Plugins&lt;br /&gt;
# Install plugin from Moodle Plugin directory or via zip upload.&lt;br /&gt;
&lt;br /&gt;
==== Moodle Plugin Setup ====&lt;br /&gt;
&lt;br /&gt;
Once you have setup an Azure Search service you can now configure the Moodle plugin.&lt;br /&gt;
&lt;br /&gt;
# Log into Moodle as an administrator&lt;br /&gt;
#  Set up the plugin in Site administration &amp;gt; Plugins &amp;gt; Search &amp;gt; Manage global search by selecting azure as the search engine.&lt;br /&gt;
#  Configure the Azure Search plugin at: Site administration &amp;gt; Plugins &amp;gt; Search &amp;gt; Azure&lt;br /&gt;
#  Set URL, API Key and API version of your Elasticsearch server&lt;br /&gt;
#  Set the Index name you want to use for your Azure Search service.&lt;br /&gt;
#  To create the index and populate Azure Searcg with your site&amp;#039;s data, run this CLI script. sudo -u www-data php search/cli/indexer.php --force --reindex&lt;br /&gt;
#  Enable Global search in Site administration &amp;gt; Advanced features&lt;br /&gt;
&lt;br /&gt;
=== File Indexing Support ===&lt;br /&gt;
&lt;br /&gt;
This plugin provides optional file indexing support.&lt;br /&gt;
&lt;br /&gt;
This plugin uses Apache Tika for file indexing support. This is a separate service to this plugin and core Moodle.&lt;br /&gt;
Tika parses files, extracts the text, and return it via a REST API.&lt;br /&gt;
&lt;br /&gt;
If you wish to use file indexing you will need access to a Tika service. An example setup can be found below.&lt;br /&gt;
==== Tika Setup ====&lt;br /&gt;
&lt;br /&gt;
Setting up a Tika test service is straight forward. In most cases on a Linux environment, you can simply download the Java JAR then run the service.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
wget http://apache.mirror.amaze.com.au/tika/tika-server-1.16.jar&lt;br /&gt;
java -jar tika-server-1.16.jar&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will start Tika on the host. By default the Tika service is available on: http://localhost:9998&lt;br /&gt;
&lt;br /&gt;
==== Enabling File indexing support in Moodle ====&lt;br /&gt;
&lt;br /&gt;
Once a Tika service is available the Azure Search plugin in Moodle needs to be configured for file indexing support.&amp;lt;br/&amp;gt;&lt;br /&gt;
Assuming you have already followed the basic installation steps, to enable file indexing support:&lt;br /&gt;
&lt;br /&gt;
# Configure the Azure Search plugin at: Site administration &amp;gt; Plugins &amp;gt; Search &amp;gt; Azure&lt;br /&gt;
# Select the Enable file indexing checkbox.&lt;br /&gt;
# Set Tika hostname and Tika port of your Tika service. If you followed the basic Tika setup instructions the defaults should not need changing.&lt;br /&gt;
# Click the Save Changes button.&lt;br /&gt;
&lt;br /&gt;
==== What is Tika ====&lt;br /&gt;
&lt;br /&gt;
From the Apache Tika website:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
 The Apache Tika™ toolkit detects and extracts metadata and text from over a thousand different file types (such as PPT, XLS, and PDF). All of these file types can be parsed through a single interface, making Tika useful for search engine indexing, content analysis, translation, and much more. You can find the latest release on the download page. Please see the Getting Started page for more information on how to start using Tika. &lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;/div&gt;</summary>
		<author><name>1&gt;Tim@horizoneducationnetwork.org</name></author>
	</entry>
</feed>