fix(rpc): improve type=search performance
This patch brings in the use of .with_entities on our RPC search query. This primarily fixes performance issues we were seeing with large queries.
That being said, we do see a bit of a slowdown on large record count rpc queries, but it's quite negligible at this point.
We still do aim to perform better than the older PHP implementation, so this is not a finishing patch by any means.
Signed-off-by: Kevin Morris kevr@0cost.org
Edited by Kevin Morris