Could HN search special case "HTTP"?

3 points by yawpitch 9 months ago

I have a particular interest in http servers at the moment, but any search that includes “http” will return every story that has an http[s] link in the URL.

Could search terms that are network protocols either not return links that start with the network protocol? Or is there a way I’m not seeing of excluding just the protocol portion of the URL from matching (I’d want URLs that included “http” elsewhere in the URL, for instance).

Tomte 9 months ago

What‘s your problem? Typing http in the search field at the bottom results in https://hn.algolia.com/?q=http

All results have http in their titles.

  • yawpitch 9 months ago

    Yes, but it’s pot luck if the term appears in the title at all… change from Popularity to Date and you’re just looking at every post that has an http/https URL, regardless of title.

  • solardev 9 months ago

    I think the OP is tyring to filter out hits that have HTTP in the URL (which is all of them), so they need a way to exclude the URL field from the search.

code_Whisperer 9 months ago

How about searching for:

http%3A

  • yawpitch 9 months ago

    Nice idea, but same results and also breaks formatting (on iOS Safari, at least).