Skip to content

feat: search filter expansion — criteria & is_endangered / 検索フィルタ拡張(登録基準・危機遺産) #434

@zigzagdev

Description

@zigzagdev

Summary / 概要

Epic Issue to add the two filtering axes that are essential for World Heritage Certification Exam study: inscription criteria and endangered status, as Algolia search filters.
検定2級対策で必須の絞り込み軸である 登録基準 (criteria)危機遺産 (is_endangered) を Algolia 検索に追加する Epic Issue。

Why / 背景

The current Algolia search (AlgoliaSearchListQuery) only supports country / iso3 / region / category / year range filters. It cannot satisfy the two study flows that the certification exam frequently demands: "filter by inscription criteria" and "show only endangered heritage." Although the criteria and is_endangered columns exist in the DB, neither is exposed as a facet on the Algolia index.
現状、Algolia 検索 (AlgoliaSearchListQuery) のフィルタは country / iso3 / region / category / year 範囲のみで、検定で頻出する「登録基準で絞る」「危機遺産だけ見る」という学習動線が成立していない。criteria / is_endangered カラムは DB に存在するが Algolia インデックスに facet として露出していない。

Scope / 対応範囲

  • #<criteria child Issue number / criteria 子 Issue 番号> — Add inscription criteria (criteria) filter / 登録基準 (criteria) フィルタ追加
  • #<is_endangered child Issue number / is_endangered 子 Issue 番号> — Add endangered (is_endangered) filter / 危機遺産 (is_endangered) フィルタ追加

Out of scope / 範囲外

  • Multi-value OR filtering on region / category / region / category の多値 OR 化
  • Study-support features (random pick, related-heritage suggestions, etc.) / 学習サポート系(ランダム抽出、関連遺産サジェスト等)
  • Additional sorting axes / 並び替え軸の拡張

Branch strategy / ブランチ戦略

  • Parent: feat/search-criteria-and-endangered-filter (PR target: main) / parent ブランチを main へ PR
  • Children: branch per child Issue and PR into the parent / 子 Issue 単位でサブブランチを切り、parent に PR

Acceptance / 受け入れ条件

  • Both child Issues are completed.
  • The parent branch PR is merged into main, and the production Algolia index has attributesForFaceting updated accordingly.
  • 子 Issue 2件が完了。
  • parent ブランチの PR が main にマージされ、本番 Algolia インデックスも attributesForFaceting 更新済。

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions