ajshort/silverstripe-elastica

This package is abandoned and no longer maintained. The author suggests using the silverstripe-australia/elastica package instead.

Provides Elastic Search integration for SilverStripe DataObjects using Elastica

Installs: 144

Dependents: 0

Suggesters: 0

Security: 0

Stars: 8

Watchers: 6

Forks: 14

Type:silverstripe-module

3.4.0 2017-11-19 10:49 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:23:40 UTC


README

IMPORTANT

This module is no longer actively maintained, however, if you're interested in adopting it, please let us know!

SilverStripe Elastica Module

Provides elastic search integration for SilverStripe DataObjects using Elastica.

Usage

The first step is to configure the Elastic Search service. To do this, the configuration system is used. The simplest default configuration is:

Injector:
  Symbiote\Elastica\ElasticaService:
    constructor:
      - %$Elastica\Client
      - index-name-to-use

You can then use the Symbiote\Elastica\Searchable extension to add searching functionality to your data objects. Elastic search can then be interacted with using the Symbiote\Elastica\ElasticService class.