jojo/modules/indexer
Shiny Nematoda 17f5ce6ce3 fix(issue-search): single exclude query was erroneosly considered as must (#12589)
The bleve indexer included a fast path to consider a single token to be of MUST rather than should.
However, the condition missed an additional check and would erroneosly include a NOT as a MUST.

This was not spotted by the tests as such exclude queries were usually made along with another term to avoid noise.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/12589
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2026-05-16 09:57:51 +02:00
..
code chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
internal refactor: replace Value() from Option[T] with Get() & ValueOrZeroValue() (#11218) 2026-02-10 16:41:21 +01:00
issues fix(issue-search): single exclude query was erroneosly considered as must (#12589) 2026-05-16 09:57:51 +02:00
stats chore: move all test blank imports in a single package (#10662) 2026-01-02 05:32:32 +01:00