Search by field: state the provider contract, tighten a baseline test and add three tests
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
調査の方向性
Start by reading the documentation for SearchRequest.Fields and MatchesByField, then locate IndexesChangedInTheBaseline and the existing field search tests. Add coverage for newly hidden searchable fields, field-limited API keys over HTTP, and rebuild/write cleanup across each provider. Done when the full index line is checked, both docs define null-list behavior, and all three tests pass on every provider.
索引モデルが issue の本文から書いたものです。
説明
Follow-ups from the second review of #3357 (#3263), none of which is a leak with the search plugin of the repository:
- The contract of
SearchRequest.Fieldsfor another provider is not written down: a null list means "the searchable fields that are not hidden", not "every row of the index". A provider that indexes hidden or stale fields would return them to an unrestricted caller. State it in the documentation ofFieldsand ofMatchesByField. IndexesChangedInTheBaselinechecks only that the line ofux_cms_search_entry_documentcontainsfield, then leaves the index out of both catalogs, so a change of its uniqueness or of its other columns would pass. Compare the full expected line.- Tests still missing:
- a stale index row of a field that is searchable and newly hidden does not match (the present test uses a field that was never searchable);
- a real API key with a field-limited role, over HTTP, cannot match on a hidden field;
- a rebuild and the next write of an entry delete the rows of a field that is no longer searchable.
Acceptance
- The documentation of
FieldsandMatchesByFieldstates what a null list means - The baseline test compares the full line of the index
- The three tests exist and pass on each provider
- 主要言語
- C#
- スター
- 567
- フォーク
- 107
- 平均マージ
- 1時間 19分
- マージ済み PR(30日)
- 353
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fluentcms/FluentCMS のほかの issue
-
area:localization plugin type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
area:storage type:bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
-
area:testing type:bug
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
area:api area:publishing type:feature
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
fluentcms/FluentCMS#3473 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area:storage plugin type:bug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
fluentcms/FluentCMS の issue をすべて見る
似ている issue
-
fix(ocr): compile the Tesseract-free pipeline with Tokio runtime対応中かも @Goldziher が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
priority:P2
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
lompotc silently drops Java/C# class members past 128 instead of erroring, as its header claimsオープンbug sev-5 vm
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
area:jobads-cv bug FE mvp P3
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
klasolsson81/jobbliggaren#2271 ·
メンテナーはふだん 1 日以内に返信