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

Ouverte
#3,302 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
45/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
csharp
Domaine
backend, search

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
C#
Étoiles
569
Forks
107
Merge moyen
2 h 49 min
PR mergées (30 j)
397

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de fluentcms/FluentCMS

Toutes les issues de fluentcms/FluentCMS

Issues similaires

Plus d'issues C#

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.