Metrics and Aggregation
Endpoint
POST https://api-indexly.ripplefy.net/index/{index_name}/search/agg
Payload
Parameter | Type | Description |
---|---|---|
query | object | JSON object with search criteria. |
sort | array | Sort criteria for search results. |
aggregate | object | Aggregation metrics for certain fields. |
Example
curl --location 'https://api-indexly.ripplefy.net/index/{index_name}/search/agg' \
--header 'Content-Type: application/json' \
--data '{
"query": {
"name": ["{name1}", {name2}],
...
},
"aggregate": {
"price": ["avg", "min", "max", "count"],
...
},
}'