Skip to content

Elasticsearch API

PHP client functions for search operations.

elasticsearch_search($query, $filters, $page, $per_page)

Section titled “elasticsearch_search($query, $filters, $page, $per_page)”

Perform full-text search with filters.

Get faceted search aggregations.

Get autocomplete suggestions.

Index multiple products efficiently.

Index one product.

Remove product from index.

Get Elasticsearch client instance.

Verify Elasticsearch connection.