forgejo/modules/indexer/issues
Shiny Nematoda cddf608cb9 feat(issue search): query string for boolean operators and phrase search (#6952)
closes #6909

related to forgejo/design#14

# Description

Adds the following boolean operators for issues when using an indexer (with minor caveats)

- `+term`: `term` MUST be present for any result
- `-term`: negation; exclude results that contain `term`
- `"this is a term"`: matches the exact phrase `this is a term`

In all cases the special characters may be escaped by the prefix `\`

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6952
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: Shiny Nematoda <snematoda.751k2@aleeas.com>
Co-committed-by: Shiny Nematoda <snematoda.751k2@aleeas.com>
2025-02-23 08:35:35 +00:00
..
bleve feat(issue search): query string for boolean operators and phrase search (#6952) 2025-02-23 08:35:35 +00:00
db Rename project board -> column to make the UI less confusing (#30170) 2024-06-02 09:42:39 +02:00
elasticsearch feat(issue search): query string for boolean operators and phrase search (#6952) 2025-02-23 08:35:35 +00:00
internal feat(issue search): query string for boolean operators and phrase search (#6952) 2025-02-23 08:35:35 +00:00
meilisearch feat(issue search): query string for boolean operators and phrase search (#6952) 2025-02-23 08:35:35 +00:00
dboptions.go enh(search): improve issue search 2024-11-10 07:17:27 +00:00
indexer.go enh(search): improve issue search 2024-11-10 07:17:27 +00:00
indexer_test.go tests: improve actvititypub integration test code 2024-11-01 22:39:49 +01:00
util.go Rename project board -> column to make the UI less confusing (#30170) 2024-06-02 09:42:39 +02:00