Search by field: state the provider contract, tighten a baseline test and add three tests
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 48/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- C#
- Estrelas
- 567
- Forks
- 107
- Merge médio
- 1h 19min
- PRs com merge (30d)
- 353
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de fluentcms/FluentCMS
-
area:localization plugin type:bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
area:storage type:bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
Mantenedores costumam responder em até 1 dia
-
area:testing type:bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
area:api area:publishing type:feature
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 55/100
fluentcms/FluentCMS#3473 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
area:storage plugin type:bug
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
Mantenedores costumam responder em até 1 dia
Todas as issues de fluentcms/FluentCMS
Issues semelhantes
-
[Bug]: Threading.Analyzers 0.7.79 does not load on the .NET 10 SDK (CS9057), CHT rules silently offAbertabug regression threading
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
CryptoHives/Foundation#362 ·
Mantenedores costumam responder em até 1 dia
-
[Bug]: 本地歌词翻译显示错误Abertabug need-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
Fervent-Tempo/AF-Media-Bar#321 ·
-
a-corriger documentation
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 87/100
christian-raj/S-Aloha#345 ·
-
bug 要トリアージ
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100
Mantenedores costumam responder em até 1 dia
-
worldInstancedOccluderNode reads its appendix count as one byte, but it is a VLQTalvez já em andamento @spuddeh assumiu hoje. Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia