Programming Elasticsearch with PHP

By Enrico Zimuel

In this article, we introduce the usage of Elasticsearch in PHP. Elasticsearch lets you add advanced searching features that you can’t easily do with a traditional database. We present the official PHP client showing some basic features like indexing, bulk (indexing multiple documents), and search. We also show some more advanced client usage, like logging, transfer statistics, and async requests. Last but not least, we present some latest features of Elasticsearch, such as aggregations and the schema-on-read available from version 7.12.

This article was originally published in the July 2021 issue of php[architect] magazine. To read the complete article please subscribe or purchase the complete issue.

Leave a comment

Use the form below to leave a comment: