Searching by link address

Lets say I have a link inside my post. Is there a way to find that post by searching the link?

The normal search doesn’t support this.

https://meta.discourse.org/search?q=meta.discourse.org%2Ft%2Fsearching-by-link-address%2F92406

1 Like

Are you looking for a single link or a list of links that have been shared?

You can access the list of URLs via the Data Explorer plugin if you have that

I don’t want to use a plugin. I want to use built in discourse search.

Our search tokenizer currently strips out link locations (the href part). I agree it makes sense to improve this so searching microsoft.com would automatically find all posts with links to microsoft.com.

I am adding this to my list as a nice small improvement we can make to search.

13 Likes

@nbianca this is a fun little change for HtmlScrubber in search_indexer.rb , we don’t have to worry about history here. Can you add to your list?

6 Likes

Coo!l fix by @nbianca is now merged :partying_face:

5 Likes

This topic was automatically closed after 31 hours. New replies are no longer allowed.