AI 生成的摘要
The discussion revolves around the issue of Discourse’s internal search not finding the phrase PagedownCustom, while Google does. Mittineague points out that this “word” is actually part of code and searching for it or its partial window.PagedownCustom returns correct results. However, the issue lies in the word splitter, which riking asks how to change. sam suggests the long-term solution is to stop relying on the tokenizer and stemmer, which keeps failing. DeanMarkTaylor provides related topics for reference. sam later updates that the issue is now fixed via a commit on GitHub, but notes that old content may require an edit to be picked up by the search.
That “word” is not a “word” but part of code i.e.
window.PagedownCustom.appendButtons.push
If you search for that here, the topics are found and returned in the results
Also works with the partial
window.PagedownCustom
Okay, so how do we change the word splitter then?
The long term solution is to stop leaning on the tokenizer and stemmer it keeps failing us
Two more related topics for reference:
https://meta.discourse.org/t/full-text-search-and-words-delimited-by-punctuation/15481?u=deanmarktaylor
2 posts were split to a new topic: Search within topic ignoring oneboxed content
This.is.now.fixanated.via :
https://github.com/discourse/discourse/commit/12ecf8624a97c3d33aaa3cd56851b5f1ca347c90
History is a bit tricky, but we are going to rebake at some point and pick it up, so for the time being old stuff needs an edit.


