pleroma/docs
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
..
administration docs: recommend the published admin-fe stable build 2026-10-22 13:54:18 +04:00
assets
configuration fix(search): set gin_fuzzy_search_limit only for search queries 2026-10-29 11:26:02 +04:00
development Merge pull request 'OAuth: require security scopes for /api/oauth_tokens' (#8013) from lambadalambda/pleroma:fix/oauth-tokens-scopes into develop 2026-10-27 07:08:34 +00:00
installation docs: require Elixir 1.17 and OTP 27 in the install guides 2026-10-22 16:25:03 +04:00
clients.md
index.md