jojo/modules/indexer/issues
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
..
bleve fix(issue-search): single exclude query was erroneosly considered as must (#12589) 2026-05-16 09:57:51 +02:00
db refactor: replace Value() from Option[T] with Get() & ValueOrZeroValue() (#11218) 2026-02-10 16:41:21 +01:00
elasticsearch refactor: replace Value() from Option[T] with Get() & ValueOrZeroValue() (#11218) 2026-02-10 16:41:21 +01:00
internal fix(issue-search): single exclude query was erroneosly considered as must (#12589) 2026-05-16 09:57:51 +02:00
meilisearch refactor: replace Value() from Option[T] with Get() & ValueOrZeroValue() (#11218) 2026-02-10 16:41:21 +01:00
dboptions.go feat(issue-search): support query syntax (#9109) 2025-11-19 16:05:42 +01:00
indexer.go test: attempt to fix flaky TestBleveDeleteIssue (#11686) 2026-03-16 16:48:11 +01:00
indexer_test.go test: attempt to fix flaky TestBleveDeleteIssue (#11686) 2026-03-16 16:48:11 +01:00
util.go feat: support filtering for issues with multiple assignees (#10552) 2026-02-07 22:37:33 +01:00