Search: query
search_querySearch indexed entities by text, with filters, sorting, facets, highlighting, and optional public mode; use '*' to browse all records.
Instructions
Run a search query. Searches the search index across all indexed entities or the ones listed, with optional filter (status=published AND category=news), sort, facets and highlighting; use * to browse. The public option searches as an anonymous visitor. To list one entity's records by exact field values, use data_list; if indexed records are missing, use search_rehydrate. Returns JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default: 1) | |
| sort | No | Comma-separated sort fields, e.g. "created_at:desc,id:asc". | |
| text | Yes | Search text. Use '*' for wildcard / browse all. | |
| facet | No | Comma-separated fields to compute facet aggregations on. | |
| limit | No | Results per page (1-100, default: 20) | |
| filter | No | Filter expression, e.g. "status=published AND category=news". Supports _geoRadius and _geoBoundingBox. | |
| public | No | Use the unauthenticated /search/public endpoint (returns only public-marked fields) | |
| entities | No | Comma-separated entity names to search. Default: all indexed entities. | |
| highlight | No | Enable result highlighting on matched terms. |