PHP Helper classes for Elasticsearch
This package is auto-updated.
Last update: 2021-04-08 17:17:24 UTC
This repository will contain some useful convenience classes for working with the official Elasticsearch PHP Client, which is a rather lowlevel tool.
The tools in this repo are primarily written for my personal use but may be helpful for others too.
Currently the project contains the following classes:
IndexHelper: create index, verify mappings and settings, manage index version aliases. If mappings or analysis settings have changed for an existing index, the method
prepareIndexcan automatically create a new index with the new settings, re-index existing data, and switch aliases afterwards.
SearchScrollHelper: scrolling made easy
See the doc comments in the code.