pleroma/test
Lain Soykaf fa8541309c
fix(search): set gin_fuzzy_search_limit only for search queries
The limit was a connection parameter, so it applied to every GIN index
scan, not only full-text search: recipient lookups and Oban job queries
could return incomplete, random results. Set it with SET LOCAL around
the search query only, configurable under Pleroma.Search.DatabaseSearch.

The default stays 500 for search: measured on a 74M-object database,
higher limits or none make searches for common words exceed the query
timeout. Remote fetches for URL queries run outside the transaction.

Based on Akkoma 811f0a468.

Co-authored-by: Oneric <oneric@oneric.stub>
2026-10-29 11:26:02 +04:00
..
config Load an emoji.txt specific to the test env 2021-02-03 16:40:59 -06:00
credo/check/consistency Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
fixtures fix(fetcher): require fetched documents to have the fetched id 2026-10-27 21:58:41 +04:00
instance_static support for special chars in pack name 2020-09-24 09:12:37 +03:00
mix fix(webhooks): merge develop and harden delivery 2026-07-26 17:00:14 +04:00
pleroma fix(search): set gin_fuzzy_search_limit only for search queries 2026-10-29 11:26:02 +04:00
support fix(fetcher): require fetched documents to have the fetched id 2026-10-27 21:58:41 +04:00
test_helper.exs Add ParadeDB docker integration test 2026-03-03 12:36:01 +04:00