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
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.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.