Accessing search size in execution context

Is there any way to access the search/query size value in the execution context? So emails could include something like "showing up to {{ctx.search.request.size}} results}}".

Thanks

Hey,

no, the request data is not part of the response and thus cannot be accessed. You could hardcode that parameter in the watch metadata though.

Hope this helps.

--Alex

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.