Search drops matches beyond the first 1,000 without saying so

Aperta
#3,302 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp
Ambito
backend, search

Direzione di ricerca

Read src/plugins/FluentCMS.Plugins.Search/SearchStore.cs, src/FluentCMS.Core/Content/Query/ContentQueryEngine.cs, and ContentQueryOptions.cs to trace the 1,000-result limit and query filters; coordinate with #3263, which changes the same path. Check the tests for each provider and add coverage for truncation reporting and site/state filters. Done means all acceptance criteria pass across every provider.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area:content plugin type:bug

Problem

A search returns the 1,000 most recently indexed matches (src/plugins/FluentCMS.Plugins.Search/SearchStore.cs:31-34, src/FluentCMS.Core/Content/Query/ContentQueryEngine.cs:96-97,244); filters, row rules and paging then run over those ids. Matches beyond the first 1,000 are lost and total is understated, with nothing in the answer saying so. The cut is a stated trade-off (ContentQueryOptions.cs:34-37); the silence is the defect.

Proposal

  • Report truncation in the list answer when the index returned its maximum.
  • Push the site and state filters into the index query so the 1,000 are spent on rows the caller can get.

Done together with #3263, which changes the same query path.

Acceptance

  • A query with more than the maximum matches says the result is truncated
  • Entries of other sites or states do not consume the maximum
  • Tests on every provider

Found in the code review of 17 Nov 2026.

Lingua principale
C#
Stelle
569
Fork
107
Merge medio
2h 49m
PR unite (30g)
397

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di fluentcms/FluentCMS

Tutte le issue di fluentcms/FluentCMS

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.