Projections

Default projections

By default, search API only returns id and version fields of first 50 matched documents. per_page parameter can be used to limit the number of results returned.


Custom projections

If you wish to fetch other fields as well, you need to explicitly request them using projections. Projections are requested by providing array of attribute names. If listed attributes exist, they will be returned for each item in response (otherwise error will be returned).