PHPackages                             pleio/elasticsearch - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Search &amp; Filtering](/categories/search)
4. /
5. pleio/elasticsearch

ActiveElgg-plugin[Search &amp; Filtering](/categories/search)

pleio/elasticsearch
===================

An Elasticsearch integration for Elgg.

v1.0(10y ago)13.2k1GPL-2.0PHP

Since Nov 18Pushed 7y ago6 watchersCompare

[ Source](https://github.com/Pleio/elasticsearch)[ Packagist](https://packagist.org/packages/pleio/elasticsearch)[ RSS](/packages/pleio-elasticsearch/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

An Elasticsearch integration for Elgg
=====================================

[](#an-elasticsearch-integration-for-elgg)

This plugin adds full-text search capabilities to your Elgg installation, allowing you to search through entities and annotations (in ELGG 1.8).

Installation and configuration
------------------------------

[](#installation-and-configuration)

1. Install the plugin (and it's dependencies) by running:

    ```
     composer require pleio/elasticsearch

    ```
2. Add the following configuration to engine/settings.php:

    ```
     $CONFIG->elasticsearch = array(
         'hosts' => array(
             '127.0.0.1'
         )
     );

     $CONFIG->elasticsearch_index = 'pleio-dev';

    ```
3. Activate the plugin through the Elgg admin panel.
4. Create the index and mappings in Elasticsearch by running:

    ```
     php console.php es:index:reset

    ```

This command will (re-)create the index. All existing content attached to the Elasticsearch will be deleted. From now on all entity CRUD actions will automatically be synced with Elasticsearch.

Bulk synchronisation
--------------------

[](#bulk-synchronisation)

The tool comes with a tool to synchronize all existing content with Elasticsearch. Run

```
php console.php es:sync:all

```

to start a bulk synchronisation.

File contents indexing
----------------------

[](#file-contents-indexing)

It is also possible to use this tool in conjunction with PleioAsyncTaskHandler and [tika-server](https://tika.apache.org/download.html) to search through ElggFile contents.

1. Download and run the tika-server:

    ```
     wget http://www.apache.org/dyn/closer.cgi/tika/tika-server-1.15.jar
     java -jar tika-server-1.15.jar

    ```
2. Add the following configuration to engine/settings.php:

    ```
     $CONFIG->tika_server = ["localhost", 9998];

    ```
3. Make sure the PleioAsyncTaskHandler is running by:

    ```
     php console.php async:taskhandler

    ```

Now when files are added or updated, the contents are indexed automatically.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 87.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3834d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c6b79cd987d04cec19ad98f1e57aeff5ef080d0c2857e4eccdff52b99a80c63e?d=identicon)[pleio](/maintainers/pleio)

---

Top Contributors

[![bartjkdp](https://avatars.githubusercontent.com/u/5213690?v=4)](https://github.com/bartjkdp "bartjkdp (85 commits)")[![jwellner](https://avatars.githubusercontent.com/u/224667?v=4)](https://github.com/jwellner "jwellner (7 commits)")[![janwout](https://avatars.githubusercontent.com/u/2620044?v=4)](https://github.com/janwout "janwout (5 commits)")

---

Tags

pluginsearchelgg

### Embed Badge

![Health badge](/badges/pleio-elasticsearch/health.svg)

```
[![Health](https://phpackages.com/badges/pleio-elasticsearch/health.svg)](https://phpackages.com/packages/pleio-elasticsearch)
```

###  Alternatives

[10up/elasticpress

Supercharge WordPress with Elasticsearch.

1.3k374.3k6](/packages/10up-elasticpress)[mailerlite/laravel-elasticsearch

An easy way to use the official PHP ElasticSearch client in your Laravel applications.

934529.3k2](/packages/mailerlite-laravel-elasticsearch)[jeroen-g/explorer

Next-gen Elasticsearch driver for Laravel Scout.

397612.3k](/packages/jeroen-g-explorer)[webdevstudios/cmb2-post-search-field

Custom field for CMB2 which adds a post-search dialog for searching/attaching other post IDs.

6647.7k2](/packages/webdevstudios-cmb2-post-search-field)[10up/debug-bar-elasticpress

Extends the Debug Bar plugin for usage with ElasticPress

2917.0k](/packages/10up-debug-bar-elasticpress)[marcorieser/statamic-live-search

A Statamic Live Search realized with Laravel Livewire.

2210.5k](/packages/marcorieser-statamic-live-search)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
