How to get the first element in doc

I have output doc as the below picture


How can I get the first element from the doc?
Screen Shot 2021-10-04 at 16.09.29

@khanh_tran

You can either:

  • Use Head Snap with “Number of documents” = 1 and “Documents offset” = 0

  • Use Filter Snap with following expr: snap.in.totalCount == 1

Regards,
Spiro Taleski

3 Likes