Closed dee-see closed 3 years ago
Basically this is due to the way the data is indexed in the database. I dont think we'd manage to index it properly with all the various levels of sub-sub domains, however, should be simple enough to filter the results once they've been extracted from the database. Will implement this sometime this week.
On Sat, Dec 5, 2020, 2:48 AM Dominic notifications@github.com wrote:
Hello!
When hitting the /subdomains/{domain} endpoint, if domain is abc.domain.com, the subdomain search will run for domain.com because of https://github.com/Cgboal/SonarSearch/blob/3135da3283dcb9c463aca01a0e3924be9c1f499f/crobat-server/server.go#L99
I wish it ran on abc.domain.com as provided. For example if I want sports.yahoo.com subdomains, searching for yahoo.com instead provides many uninteresting results and makes the execution much longer.
I'd be happy to contribute this feature but I'm wondering how you'd prefer to see this implemented. A new route? Or a query parameter on the existing route?
Thanks!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Cgboal/SonarSearch/issues/19, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABD4Q7H77LYF3QKDWJFAEHLSTGNPZANCNFSM4UOG3IDQ .
This is done now, give it a shot.
Ah actually it's not perfect, 1 sec
Okay now it should work great
Awesome, thanks!
Hello!
When hitting the
/subdomains/{domain}
endpoint, ifdomain
isabc.domain.com
, the subdomain search will run fordomain.com
because of https://github.com/Cgboal/SonarSearch/blob/3135da3283dcb9c463aca01a0e3924be9c1f499f/crobat-server/server.go#L99I wish it ran on
abc.domain.com
as provided. For example if I wantsports.yahoo.com
subdomains, searching foryahoo.com
instead provides many uninteresting results and makes the execution much longer.I'd be happy to contribute this feature but I'm wondering how you'd prefer to see this implemented. A new route? Or a query parameter on the existing route?
Thanks!