Elasticsearch

An Elasticsearch implementation for Elgg

Last updated
Recommended Releases
Elgg Release Download Date Links
4.17.0.1 (1.04 MB)2022-Jun-14
4.06.0 (1.08 MB)2021-Sep-28
3.35.0.3 (626.18 kB)2021-Sep-28
3.24.2.2 (1.83 MB)2021-Sep-28
3.14.2.2 (1.83 MB)2021-Sep-28
3.04.2.2 (1.83 MB)2021-Sep-28
2.33.6.1 (1.83 MB)2019-Apr-18
Show all releases

An Elasticsearch implementation for Elgg

Requirements

A working ElasticSearch server is required. Also the minute cron has to be working on your Elgg installation. The minute cron is used to update the index with all the required changes (create/update/delete).

Configuration

Settings

The plugin settings allow you to configure the following:

  • Hosts: 1 or more hosts need to be configured (full URL + optional portnumber). You can provide more hosts comma seperated.
  • Index: Name of the index used for indexing Elgg data and search queries
  • Search alias (optional): Name of the alias to use in search queries, this allows for easy searching across multiple indices

Index Management

The index management page (found under Administer -> ElasticSearch -> Indices in the admin sidebar) allows you to perform various actions on all the indexes available on the ElastisSearch server. The following actions are supported:

  • Create: This action can only be performed if the index configured in the plugin settings page is not yet available. It will create the default index configuration to be used for search.
  • Alias: Add/remove the configured alias to the index (this allows searching across multiple indices)
  • Delete: This will remove the index from the server (this action can not be undone)
  • Optimize: This performs the optimize operation on the index
  • Flush: The performs the flush operation on the index

Administration

Log files

Based on the log level of your Elgg site, there will also be logging of the Elastic Search PHP client library. Log messages will be written to a file. For every day there will be a file. You can view them on the Administer -> ElasticSearch -> Logging page.

Statistics

You can find various statistics on the Administer -> ElasticSearch -> Statistics page. Elgg statistics report on the amount of entities found in the Elgg database that should be in the index. It also reports on the amount of entities that need to be added/updated/deleted in the index and that are currently waiting on the minute cron to process them. Also some statistics from the Elastic Cluster are shown like the status and the version information. You can also find statistics for all available indexes on this page.

Recommendations

Use the Search Advanced plugin to add extra features to search. If both are enabled this plugin provides a menu to sort/order the results.

Jerome Bakker

Developer @ ColdTrick IT Solutions

Stats

  • Category: Third Party integrations
  • License: GNU General Public License (GPL) version 2
  • Updated: 2022-6-14
  • Downloads: 2732
  • Recommendations: 1

Other Projects

View Jerome Bakker's plugins