Diffusion.searchquery only returns first result on a path

I have been working with the Conduit API diffusion.searchquery method and I’m trying to get similar results to the Pattern Search on the repository web site. However, I’ve noticed that the API method only returns the first result when there should be multiple. Is this expected behavior and / or is there a workaround?

Pass a limit value:

This method does not have a default limit, so if you do not pass an explicit limit, you get the behavior of limit = 0, which is one result. No part of this behavior is good or desirable or consistent with anything, this method is just very old and primarily an internal method.

Brilliant, thank you! Works like a charm now.