Searching when 'offline'

We have some files setup as synced offline in the nextcloud ios app, which works, but the search function doesn’t work when the device is offline. Is this by design? Is there any workaround or add-in for local searching?

Thanks!