Accessing search size in execution context

alerting

(Jamie Burks) #1

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


(Alexander Reelsen) #2

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


(system) #3

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