Spotlight Search with ES backend sometimes fails to return results.
Using spotlight search on MacOS 13.2.1, SMB client 3.1.1
Interestingly mdfind works well regardless of the query, but spotlight search on finder fails on queries returning large result sets.
On the server the following logs are generated on failure:
mds_dispatch: error packing Spotlight RPC reply