Date range search/facet

オープン
#1,663 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
ruby
領域
search

調査の方向性

Start by reading the existing date-range indexing and facet behavior, then review replaced issues #1623 and #1424 for context. The proposed behavior and open questions need agreement before implementation; done means the agreed behavior is covered by tests, including invalid @normal dates and keyword year searches.

索引モデルが issue の本文から書いたものです。

説明

The date range limit includes only records whose dates have @normal. A year typed into a keyword search ("jabara 1959") only matches records where that exact year appears in the text.

Proposed behavior

  • Core uses only @normal for the date range limit.
  • Core doesn't guess years from date text. Sites that want to can supply their own logic for which years a record covers, without overriding the indexer.
  • Years in keyword searches stay ordinary keywords; researchers use the date range limit for ranges.
  • A record with an invalid @normal (for example, an end year before the start year) is still indexed and displays its dates; it is just left out of the date range limit.

Questions to settle

  • Is leaving out records without @normal acceptable for core, given that guessing from text would be right for some collections and wrong for others?
  • Is "use the date range limit" an acceptable answer for year searches? Matching ranges from keyword searches could make box 1959 return everything dated 1959.

Out of scope

Sorting (see #1662 ).

Replaces

#1623, #1424

主要言語
Ruby
スター
53
フォーク
27
平均マージ
1日 2時間
マージ済み PR(30日)
64

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

projectblacklight/arclight のほかの issue

projectblacklight/arclight の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。