zp/supple

Document indexation and migration tool for Elasticsearch

1.1.0 2021-07-09 07:58 UTC

This package is auto-updated.

Last update: 2024-12-09 15:39:49 UTC


README

Supple is a framework agnostic document indexation and migration tool for Elasticsearch.

Installation

composer require zp/supple

Usage

See examples/example.php.

Annotations

use Zp\Supple\Annotation as Elastic;

@Elastic\Index

TODO

@Elastic\IndexTemplate

TODO

@Elastic\IndexAnalysis

TODO

@Elastic\IndexMapping

TODO

@Elastic\IndexSetting

TODO

@Elastic\ID

TODO

@Elastic\Mapping

TODO

@Elastic\EmbeddedMapping

TODO

@Elastic\Ignore

TODO

JMSSerializer

Under the hood, for mapping document to JSON used library JMSSerializer, so you could use their annotations.