That's correct. This query only returns relays which are in the same family as the named relay with nickname silkroad. If there's no such relay, there will be zero results.
I wonder if there's an easy way to get that answer?
Well, it wouldn't be hard to add another filter that returns only relays with a certain string in their nickname. Though I'm not entirely sure that searching by nickname is a use case for Compass, rather than for Atlas/Globe. I guess the real question is: what answer are you trying to get? And does the raw Onionoo query help you get that answer in this specific case?
Makes sense. Cc'ing Lunar and Sathya who have submitted Compass patches in the past. Happy to review and merge a patch that adds a nickname substring filter and deploy a new Compass version.
Karsten said he'd be happy to review a patch, and now there is one? :)
I guess another alternative would be to close the ticket on the theory that not as many people use compass nowadays. But I bet quite a few relay operators do.
Trac: Sponsor: N/AtoN/A Reviewer: N/AtoN/A Severity: N/Ato Normal
Oh, did I make such a promise 2 years ago? :) Alright!
The linked patch 701f0a7 looks okay, with two nitpicks:
In compass.py, better write help="select only relays matching REGEX" to reference the metavar.
On templates/index.html, just write placeholder=".*", as the string part will probably look displaced there.
However, I noticed that the patch is not based on Tor's master and that there are about a dozen other commits in nusenu's master. Is this version of Compass running somewhere public? Should we look into reviewing them all and possibly merging them back into Tor's master and deploying them on https://compass.torproject.org/?
The metrics team has put a goal of shutting down Compass in its roadmap and merging functionality with Relay Search (previously known as Atlas). This ticket is specific to Compass and as development on Compass has ceased, I am marking this ticket as wontfix.
See #23517 (moved) for information on the planned work to integrate Compass functionality into Relay Search.
Trac: Resolution: N/Ato wontfix Status: assigned to closed