Using MIN() with manticoresearch-php SDK

In documentation is described how the query should by used with MIN() and GROUP BY

https://manual.manticoresearch.com/Searching/Grouping#SUM(),-MIN(),-MAX(),-AVG()

There is missing php example and i dont know how to use official manticoresearch-php search class to get min() result.

Basically i need to build and send http json request to receive min and max price values.

The original sphinx query looks like this
SELECT min(price) as minPrice, max(price) as maxPrice, 1 as grp FROM myIndex WHERE id > 100 GROUP BY grp;

Have you some examples how to build this query with php SDK?

Not yet. Here’s an issue about it Aggregation functions support · Issue #119 · manticoresoftware/manticoresearch-php · GitHub