Skip to content

非技術書を検索結果から除外する - #113

Open
Ojoxux wants to merge 1 commit into
stagingfrom
cursor/exclude-non-tech-books-5919
Open

非技術書を検索結果から除外する#113
Ojoxux wants to merge 1 commit into
stagingfrom
cursor/exclude-non-tech-books-5919

Conversation

@Ojoxux

@Ojoxux Ojoxux commented Jul 24, 2026

Copy link
Copy Markdown
Owner

概要

  • 技術書っぽさ検索が並べ替えのみだったため、小説などの非技術書も結果に残っていた問題を修正
  • rankTechBooks で技術シグナル(出版社・キーワード・ISBN など)があり、かつ techScore > 0 の本だけ残すハードフィルタを追加
  • 楽天タイトル検索に booksGenreId=001005(コンピュータ・情報処理)を付与して取得時点でも絞り込む

確認

  • format 通過
  • typecheck 通過
  • test 通過

補足

  • ISBN 検索はジャンル制限なしのまま(直接指定で技術書以外も取りたい場合があるため)
  • ジャンル外の技術書が落ちる場合は、ジャンル解除やシグナル追加での調整が必要
Open in Web Open in Cursor 

並べ替えだけでは小説などが残るため、技術シグナル必須のハードフィルタを追加し、
楽天検索もコンピュータ・情報処理ジャンルに絞り込む。

Co-authored-by: Jou Okuyama <Ojoxux@users.noreply.github.com>
@Ojoxux
Ojoxux marked this pull request as ready for review July 30, 2026 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants