Specific searches go a bit further if they have no responses. There used to be a 150 result limit, but that was lifted.
For the current details of the algorithm, you can search either the code browser at
https://www.limewire.org/fisheye/changelog/limecvs/ or the gnutella wiki at
http://www.the-gdf.org/wiki/index.php?title=Main_Page