Skip to content

Commit

Permalink
changed: updated OpenSearch client to support OpenSearch 2.5+
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed Jul 11, 2023
1 parent 8157b95 commit 3ccf7cf
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 34 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# opensearch

![Elgg 5.0](https://img.shields.io/badge/Elgg-5.0-green.svg)
![OpenSearch 1.1](https://img.shields.io/badge/OpenSearch-1.1-green.svg)
![OpenSearch 2.5](https://img.shields.io/badge/OpenSearch-2.5-green.svg)
![Lint Checks](https://github.com/ColdTrick/opensearch/actions/workflows/lint.yml/badge.svg?event=push)
[![Latest Stable Version](https://poser.pugx.org/coldtrick/opensearch/v/stable.svg)](https://packagist.org/packages/coldtrick/opensearch)
[![License](https://poser.pugx.org/coldtrick/opensearch/license.svg)](https://packagist.org/packages/coldtrick/opensearch)
Expand All @@ -13,7 +13,7 @@ An OpenSearch implementation for Elgg
A working [OpenSearch](https://www.opensearch.org/) 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).

The current supported version of OpenSearch is: 1.1.x
The current supported version of OpenSearch is: 2.5.x

## Configuration

Expand Down Expand Up @@ -64,7 +64,7 @@ Only use this command when a change was made to the index configuration and/or m

#### opensearch:sync

This command will synchronize all pending entities to the OpenSearch index. This is especialy usefull during the reindexing
This command will synchronize all pending entities to the OpenSearch index. This is especially usefull during the reindexing
process of the database because a lot of entities need to be indexed. Using the normal cron task in this case could take a long time.

## Recommendations
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"require": {
"composer/installers": "^1.0.8",
"opensearch-project/opensearch-php": "~1.0.0"
"opensearch-project/opensearch-php": "^2.0.0"
},
"conflict": {
"elgg/elgg": "<5.0"
Expand Down
59 changes: 29 additions & 30 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3ccf7cf

Please sign in to comment.