Tris20
(Tristan)
5월 20, 2025, 9:07오후
12
Discourse의 검색 기능 자체에 결과를 통합하려는 경우, 여전히 Algolia를 사용할 수 있다고 생각합니다. 하지만 이 솔루션은 상당한 노력이 필요합니다(예: 어떤 사이트의 결과를 우선적으로 표시할지 우선순위를 어떻게 정할 것이며, 올바른 메타데이터가 쉽게 이용 가능하고 항상 최신 상태인지 등). 또한 추가 비용(Algolia 라이선스)이 발생합니다.
외부 콘텐츠로 사용자를 유도하는 무료이며 유지보수 및 노력이 적은 옵션은 몇 년 전 Discourse에 의뢰하여 확장한 Advanced search bar 확장 기능입니다. 기본적으로 외부 사이트가 검색에 표준 URL 쿼리를 사용하는 경우 이 옵션과 호환됩니다.
즉, 해당 사이트의 검색 URL이 다음과 같은 형태인가요?
https://meta.discourse.org/search?q=this%20is%20my%20search%20term
그렇다면 이 구성 요소가 작동합니다.
다음 게시물에서 어떻게 작동하는지 보여드립니다:
This was one of our core problems as well. We have an obscene amount of platforms doing the same thing, and Discourse is phenomenal at gluing all that stuff together when done right.
In particular we lacked a single point of search. To achieve this at (very) low cost we sponsored the Discourse team to modify the header search so it allows us to search other platforms from the Discourse search bar. Now we can search Confluence etc from Discourse
Note: This doesn’t search nativel…
그리고 다음 게시물에서는 설정 방법에 대해 조금 더 자세히 문서화했습니다:
Hey @Stephane_Roy ,
Sorry I didn’t see this earlier. From memory, Penar did most of the work on this, but I wrote the spec so can answer most of your questions about this functionality. Feel free to nudge me here if you have more questions
Below is an example of what I did inside our Gitlab Category. You can see in our header search bar that as soon as we type a search term(in this case pipeline) you can search the gitlab forum(clicking comments button), the gitlab docs(book), …
이 방법을 시도해 보고 질문이 있으시면 여기서 기꺼이 답변해 드리겠습니다
2개의 좋아요