If I've got an array of entries, is there a less long winded approach to convert that to an array of ids so I can use it in another lookup.
{# Look up authors that match the entered query.
{% set authorEntries = craft.users.search('fullName:*' ~ query ~ '*')|default([]) %}
{% set authorIds = [] %}
{% for author in authorEntries %}
{% set authorIds = authorIds|merge([author.id]) %}
{% endfor %}
Thanks!