PHPackages                             ventusforge/neos-index-manager - 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. ventusforge/neos-index-manager

ActiveNeos-application[Search &amp; Filtering](/categories/search)

ventusforge/neos-index-manager
==============================

Index Manager for ElasticSearch/OpenSearch in Neos

0.0.1(1mo ago)02GPL-3.0-or-laterPHPPHP &gt;=8.3

Since Apr 17Pushed 1mo agoCompare

[ Source](https://github.com/VentusForge/VentusForge.IndexManager)[ Packagist](https://packagist.org/packages/ventusforge/neos-index-manager)[ RSS](/packages/ventusforge-neos-index-manager/feed)WikiDiscussions main Synced 1w ago

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

VentusForge. IndexManager
=========================

[](#ventusforge-indexmanager)

Client to manage indices.

How To Use
----------

[](#how-to-use)

### Define the authentication

[](#define-the-authentication)

```
# Settings.yaml
VentusForge:
  IndexManager:
    clients:
      default:
        host: 'opensearch'
        port: 9200
        scheme: 'https'
        # username: dev_foo_bar # optional
        # password: dev_foo_bar # optional
        sslCaInfo: '/client-certs/opensearch/root-ca.pem'
        sslKey: '/client-certs/dev_foo_bar-key.pem'
        sslCert: '/client-certs/dev_foo_bar.pem'
```

Select between username &amp; password or a certification file.

Note: you can create an own [IndexClientFactory](./Classes/IndexClientFactoryInterface.php) and use the authentication from another settings (i.e. `Flowpack.ElasticSearch.clients`)

### Inject the client

[](#inject-the-client)

```
# Objects.yaml
'Foo.Bar:DefaultClient':
  className: VentusForge\IndexManager\IndexClient
  scope: singleton
  factoryObjectName: VentusForge\IndexManager\IndexClientFactoryInterface
  factoryMethodName: create
  arguments:
    1:
      value: default
```

and add the following to your service/controller.

```
