Searching by link address

(hosna) #1

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.

How searching by link exactly work?
(Robert McIntosh) #2

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

(hosna) #3

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

(Sam Saffron) #4

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

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

(Sam Saffron) #5

@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?

(Sam Saffron) #6

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

(Sam Saffron) #7

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