Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Follow-up to #6666: Query parser: a one-item quoted list loses its literal status

Chiusa
#6,752 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Una pull request collegata è già stata integrata.

  • #6666 di @rbuergi — integrata

Valutazione

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

Direzione di ricerca

Start in the query parser's namespace alternation branch, which only accepts multi-value lists, and the reserved-qualifier pass that rewrites * to Like. Reproduce with namespace:("x*") and -namespace:("x*") in a failing test before changing anything. Done means the quoted one-item list stays literal in both positive and negated forms, either by keeping per-value quotation metadata or by treating a one-value In/NotIn as literal membership. Pick one approach and confirm the existing parser tests still pass.

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

Descrizione

bug feature:unanchored-queries sev:M

Follow-up to #6666 (review findings deferred from that pull request; Refs #6666).

  • namespace:("x*") yields In with Literal = false; the namespace alternation branch takes only multi-value lists, so the reserved-qualifier pass sees * and rewrites it to Like, and -namespace:("x*") becomes a positive Like. Preserve per-value quotation metadata, or treat a one-value In/NotIn as literal membership.

These are automated-review findings, assessed from the diff and not reproduced; each needs a failing test before its fix. Deferred from the PR because CI is saturated and none of them is a security hole, data loss or a broken build/test.

Lingua principale
C#
Stelle
12
Fork
5
Merge medio
5h 44m
PR unite (30g)
968

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 Systemorph/MeshWeaver

Tutte le issue di Systemorph/MeshWeaver

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.