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

Offen
#3,302 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
csharp
Bereich
backend, search

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
C#
Sterne
569
Forks
107
Ø Merge
2 Std. 49 Min.
Gemergte PRs (30 T.)
397

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus fluentcms/FluentCMS

Alle Issues in fluentcms/FluentCMS

Ähnliche Issues

Weitere Issues zu C#

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.