Previously @sam told me the following feature request is merged:
However when I try to search the link, I get nothing
https://meta.discourse.org/search?q=meta.discourse.org/t/searching-by-link-address/92406
Previously @sam told me the following feature request is merged:
However when I try to search the link, I get nothing
https://meta.discourse.org/search?q=meta.discourse.org/t/searching-by-link-address/92406
Update:
Now I’m getting confused. Cause the search quesy I provided, finds this topic. But not the other:
Hmm, maybe the search index here on meta needs to be rebuilt?
To clarify, are you asking if page URLs are included in the search index?
Sam confirmed that URLs within posts would now be returned, but it looks as though you’re asking for URLs of posts to be returned too? If not then yes, something appears to be missing from the index.
I can see that the page refers to itself, is there a special case when pages are self-referential like that?
@Stephen eh, this is confusing, but it seems that that old post actually includes a link to itself. So I think the search should find it.
@hosna if you are able to edit that old post, you can try and then search again, perhaps that would resolve it.
I guess the easy litmus test is to search a bunch of page URLs with links created before and after the PR. Were I not on mobile that would probably be my next step.
Ok trying to test this link
It seems full url search is working
And some partial search also work :
https://meta.discourse.org/search?q=%2Ft%2Fhow-searching-by-link-exactly-work%2F100114
but not all of them :
https://meta.discourse.org/search?q=%2Fhow-searching-by-link-exactly-work%2F100114
@sam can you please clarify how exactly this functionality works?
cc: @nbianca
I still don’t understand how this works
BTW is there a way to do a search by two queries and finding posts that contain either of those two?
I still need the answer to this question, please .
I also have problems with search for URLs.
My instance was installed in March 2019, so far after the mentioned PR.
However I was unable to find anything for a URL, which is contained in the post (exact URL match).
Any progress on this issue?