gitforge/modules/indexer
Shiny Nematoda 14c5f0105f enh(issue-search): treat terms in query strings with no explicit operator as MUST (#13025)
The rationale for this decision is the apparent confusion regarding the number of issues that were presented.
For a query such as `foo bar` the natural expectation would be results that contain both `foo` and `bar` not either `foo` or `bar`.
However, for a query such as `+foo bar` the result MUST contain `foo`, while `bar` affects only the scoring of issues.

A downside of such an approach is the inability to fully represent `foo OR bar` as the current implementation imposes that the query must contain atleast one MUST (or MUST NOT) term.

closes #12935

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/13025
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2026-07-04 16:05:50 +02:00
..
code Add code search with zoekt support (#8827) 2026-05-28 20:52:34 +02:00
internal Add code search with zoekt support (#8827) 2026-05-28 20:52:34 +02:00
issues enh(issue-search): treat terms in query strings with no explicit operator as MUST (#13025) 2026-07-04 16:05:50 +02:00
stats fix: load repo language for converting to api struct (#12737) 2026-05-28 17:00:40 +02:00