slices requiredDash-separated list of slice ids to search. At least one slice is normally given; items from all listed slices are merged into one result set before sorting. Without a slice (and without restrict_ids) nothing is returned.
conds optionalFilter conditions in d- form: d- followed by repeating field-operator-value triplets, joined by dashes, e.g. d-headline........-==-Gamma or d-integer.........->-50. Operators include = and == (exact), the comparisons (< > <> <= >=), CONTAIN and BEGIN (text), ISNULL and NOTNULL (empty checks), BITSET and REGEXP. Multiple triplets are AND-combined. Build conditions from variables with the conds expression. Empty means no filter (all items).
sort optionalOne or more field ids to order the result by. Ascending by default; add a trailing dash for descending, e.g. publish_date....- for newest first. Separate several sort keys with commas. Empty leaves the default order.
delimiter optional default -Separator placed between the returned ids. Defaults to a dash, which is what item, view, count and unique expect as their id separator. The special value json returns the ids as a JSON array instead.
restrict_ids optionalDash-separated id set that pre-limits the search: the result is the intersection of these ids with the conds filter and the listed slices. Useful to narrow a large slice to a known subset. Empty searches all items.
limit optional default 0 (no limit)Maximum number of ids to return, applied after filtering and sorting. A negative limit returns the last N ids instead of the first N. Empty or 0 returns all matches.
{count:{ids:9e1d2b9f88e3d6c3bf0eb967378610d6}}
{count:{ids:9e1d2b9f88e3d6c3bf0eb967378610d6:d-integer.........->-50}}
{item:{ids:9e1d2b9f88e3d6c3bf0eb967378610d6:d-headline........-==-Gamma}:_#NUMBER__}
{item:{ids:9e1d2b9f88e3d6c3bf0eb967378610d6:d-integer.........->-40:integer.........}:_#HEADLINE: }
{item:{ids:9e1d2b9f88e3d6c3bf0eb967378610d6::integer.........:::3}:_#NUMBER__:,}
{count:{ids:9e1d2b9f88e3d6c3bf0eb967378610d6:d-integer.........->-50:::5726c2c6b035d7aab450d1794e9e90d7-4f3362a62847fe1f8c59ba28a92d42c0}}
{ids:9e1d2b9f88e3d6c3bf0eb967378610d6:d-headline........-==-Gamma:headline........:json}
[{ids:9e1d2b9f88e3d6c3bf0eb967378610d6:d-headline........-==-Nonexistent}]