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
The discussion revolves around searching for posts by link address in Discourse. hosna asked if it’s possible to find a post containing a specific link using the built-in search, but the current search functionality does not support this. robmc suggested using the Data Explorer plugin to access a list of shared URLs, but hosna wanted to use the built-in search.
sam explained that the search tokenizer strips out link locations and agreed to improve this feature. He added it to his list of improvements and assigned the task to nbianca. The issue was later fixed by nbianca and the pull request has been merged.
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
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.
@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?