特定の期間の上位検索項目とCTR(クリック率)を表示するSQLクエリを作成したいと考えています。Search Logsレポート(…/admin/logs/search_logs?period=weekly にあります)がどのように生成されているか、特にCTRがどのように計算されているかをご存知の方はいらっしゃいますか?
search_logs テーブルは存在しているようですが、CTRの算出にどのデータが参照されているのかはわかりません。
よろしくお願いいたします、
Oleg
特定の期間の上位検索項目とCTR(クリック率)を表示するSQLクエリを作成したいと考えています。Search Logsレポート(…/admin/logs/search_logs?period=weekly にあります)がどのように生成されているか、特にCTRがどのように計算されているかをご存知の方はいらっしゃいますか?
search_logs テーブルは存在しているようですが、CTRの算出にどのデータが参照されているのかはわかりません。
よろしくお願いいたします、
Oleg
What an old topic without an answer, let’s bump it ![]()
I would like to find out which topics were clicked for particular search term. I found this query, which comes close, but the tables seem to be deprecated since then:
Is there any way to achieve it on the latest version?
![]()
https://github.com/discourse/discourse/blob/master/app/models/reports/trending_search.rb
and
Should give you all you need to know.